Addition of Player isInTimedHuntingZone method.

This commit is contained in:
MobiusDevelopment
2022-08-30 23:32:54 +00:00
parent 98166d7d78
commit 54578fc855
32 changed files with 90 additions and 52 deletions

View File

@@ -1102,7 +1102,7 @@ public class CeremonyOfChaos extends AbstractNpcAI
sm = SystemMessageId.YOU_CANNOT_PARTICIPATE_IN_THE_CEREMONY_OF_CHAOS_WHILE_FISHING;
canRegister = false;
}
else if (player.isInTimedHuntingZone(player.getX(), player.getY()))
else if (player.isInTimedHuntingZone())
{
sm = SystemMessageId.CANNOT_USE_TIME_LIMITED_HUNTING_ZONES_WHILE_WAITING_FOR_THE_CEREMONY_OF_CHAOS;
canRegister = false;