Transformed players should not see fishing icon as well.

This commit is contained in:
MobiusDev
2015-05-16 19:11:50 +00:00
parent d5d0bc40f6
commit 29b6b6bf06

View File

@ -115,7 +115,7 @@ public class L2FishingZone extends L2ZoneType
@Override
public void run()
{
if (Config.ALLOWFISHING && !player.isFishing() && !player.isInsideZone(ZoneId.WATER) && !player.isInBoat() && !player.isInCraftMode() && !player.isInStoreMode())
if (Config.ALLOWFISHING && !player.isFishing() && !player.isInsideZone(ZoneId.WATER) && !player.isInBoat() && !player.isInCraftMode() && !player.isInStoreMode() && !player.isTransformed())
{
player.sendPacket(new ExAutoFishAvailable(player));
}