Player checks for event registrations.
This commit is contained in:
@@ -134,6 +134,12 @@ public final class LaVieEnRose extends AbstractNpcAI
|
||||
return false;
|
||||
}
|
||||
|
||||
if (player.isOnEvent()) // custom event message
|
||||
{
|
||||
player.sendMessage("You cannot use the Beauty Shop while registered in an event.");
|
||||
return false;
|
||||
}
|
||||
|
||||
// player.sendPacket(SystemMessageId.YOU_CANNOT_USE_THE_BEAUTY_SHOP_AS_THE_NPC_SERVER_IS_CURRENTLY_NOT_IN_FUNCTION);
|
||||
// player.sendPacket(SystemMessageId.YOU_CANNOT_USE_THE_BEAUTY_SHOP_WHILE_USING_THE_AUTOMATIC_REPLACEMENT);
|
||||
|
||||
|
Reference in New Issue
Block a user