Retail message for entering hunting zones from peace zones.
Contributed by manax182.
This commit is contained in:
@@ -56,7 +56,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
|||||||
|
|
||||||
if (!player.isInsideZone(ZoneId.PEACE))
|
if (!player.isInsideZone(ZoneId.PEACE))
|
||||||
{
|
{
|
||||||
player.sendPacket(SystemMessageId.CANNOT_MOVE_FROM_THE_CURRENT_LOCATION);
|
player.sendPacket(SystemMessageId.CAN_ONLY_ENTER_TO_A_PEACE_ZONE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (player.isInCombat())
|
if (player.isInCombat())
|
||||||
|
@@ -56,7 +56,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
|||||||
|
|
||||||
if (!player.isInsideZone(ZoneId.PEACE))
|
if (!player.isInsideZone(ZoneId.PEACE))
|
||||||
{
|
{
|
||||||
player.sendPacket(SystemMessageId.CANNOT_MOVE_FROM_THE_CURRENT_LOCATION);
|
player.sendPacket(SystemMessageId.CAN_ONLY_ENTER_TO_A_PEACE_ZONE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (player.isInCombat())
|
if (player.isInCombat())
|
||||||
|
@@ -56,7 +56,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
|||||||
|
|
||||||
if (!player.isInsideZone(ZoneId.PEACE))
|
if (!player.isInsideZone(ZoneId.PEACE))
|
||||||
{
|
{
|
||||||
player.sendPacket(SystemMessageId.CANNOT_MOVE_FROM_THE_CURRENT_LOCATION);
|
player.sendPacket(SystemMessageId.CAN_ONLY_ENTER_TO_A_PEACE_ZONE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (player.isInCombat())
|
if (player.isInCombat())
|
||||||
|
@@ -56,7 +56,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
|||||||
|
|
||||||
if (!player.isInsideZone(ZoneId.PEACE))
|
if (!player.isInsideZone(ZoneId.PEACE))
|
||||||
{
|
{
|
||||||
player.sendPacket(SystemMessageId.CANNOT_MOVE_FROM_THE_CURRENT_LOCATION);
|
player.sendPacket(SystemMessageId.CAN_ONLY_ENTER_TO_A_PEACE_ZONE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (player.isInCombat())
|
if (player.isInCombat())
|
||||||
|
@@ -56,7 +56,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
|||||||
|
|
||||||
if (!player.isInsideZone(ZoneId.PEACE))
|
if (!player.isInsideZone(ZoneId.PEACE))
|
||||||
{
|
{
|
||||||
player.sendMessage("Cannot move from the current location.");
|
player.sendMessage("Can only enter to a peace zone.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (player.isInCombat())
|
if (player.isInCombat())
|
||||||
|
@@ -56,7 +56,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
|||||||
|
|
||||||
if (!player.isInsideZone(ZoneId.PEACE))
|
if (!player.isInsideZone(ZoneId.PEACE))
|
||||||
{
|
{
|
||||||
player.sendPacket(SystemMessageId.CANNOT_MOVE_FROM_THE_CURRENT_LOCATION);
|
player.sendMessage("Can only enter to a peace zone.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (player.isInCombat())
|
if (player.isInCombat())
|
||||||
|
@@ -56,7 +56,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
|||||||
|
|
||||||
if (!player.isInsideZone(ZoneId.PEACE))
|
if (!player.isInsideZone(ZoneId.PEACE))
|
||||||
{
|
{
|
||||||
player.sendPacket(SystemMessageId.CANNOT_MOVE_FROM_THE_CURRENT_LOCATION);
|
player.sendMessage("Can only enter to a peace zone.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (player.isInCombat())
|
if (player.isInCombat())
|
||||||
|
@@ -56,7 +56,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
|||||||
|
|
||||||
if (!player.isInsideZone(ZoneId.PEACE))
|
if (!player.isInsideZone(ZoneId.PEACE))
|
||||||
{
|
{
|
||||||
player.sendPacket(SystemMessageId.CANNOT_MOVE_FROM_THE_CURRENT_LOCATION);
|
player.sendMessage("Can only enter to a peace zone.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (player.isInCombat())
|
if (player.isInCombat())
|
||||||
|
Reference in New Issue
Block a user