Additional prohibitions for fishing indicator.
This commit is contained in:
parent
2727d79c03
commit
d5d0bc40f6
@ -115,7 +115,7 @@ public class L2FishingZone extends L2ZoneType
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
if (!player.isFishing())
|
||||
if (Config.ALLOWFISHING && !player.isFishing() && !player.isInsideZone(ZoneId.WATER) && !player.isInBoat() && !player.isInCraftMode() && !player.isInStoreMode())
|
||||
{
|
||||
player.sendPacket(new ExAutoFishAvailable(player));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user