|
|
|
@ -98,15 +98,7 @@ public class VendorDialogMsg extends ClientNetMsg {
@@ -98,15 +98,7 @@ public class VendorDialogMsg extends ClientNetMsg {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(npc.contractUUID == 1502040){ //enrollment officer
|
|
|
|
|
if(!playerCharacter.getTimestamps().containsKey("lastBoxFlag")) |
|
|
|
|
playerCharacter.getTimestamps().put("lastBoxFlag",System.currentTimeMillis() - 1000); |
|
|
|
|
|
|
|
|
|
if(playerCharacter.getTimestamps().get("lastBoxFlag") + 10000 > System.currentTimeMillis()) { |
|
|
|
|
PlayerCharacter.unboxPlayer(playerCharacter); |
|
|
|
|
}else{ |
|
|
|
|
ErrorPopupMsg.sendErrorPopup(playerCharacter, 49); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
PlayerCharacter.unboxPlayer(playerCharacter); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Restrict disc trainers to only characters who have
|
|
|
|
|