Retail message for entering hunting zones from peace zones.

Contributed by manax182.
This commit is contained in:
MobiusDevelopment
2021-07-02 23:17:55 +00:00
parent 8a311baada
commit 572f45451c
8 changed files with 8 additions and 8 deletions

View File

@@ -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())

View File

@@ -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())

View File

@@ -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())

View File

@@ -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())

View File

@@ -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())

View File

@@ -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())

View File

@@ -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())

View File

@@ -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())