From 77cfa02bea2ce7d0d92187ef36d3fecf5cd4772c Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 29 Apr 2024 18:51:46 -0500 Subject: [PATCH] players already flagged active cannot promote to active --- src/engine/net/client/msg/VendorDialogMsg.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/net/client/msg/VendorDialogMsg.java b/src/engine/net/client/msg/VendorDialogMsg.java index cf673bd0..512933a3 100644 --- a/src/engine/net/client/msg/VendorDialogMsg.java +++ b/src/engine/net/client/msg/VendorDialogMsg.java @@ -136,6 +136,10 @@ public class VendorDialogMsg extends ClientNetMsg { } if(contract.getObjectUUID() == 1502040){ + if(playerCharacter.isBoxed == false) { + ChatManager.chatSystemInfo(playerCharacter, "You Are Already The Active Character."); + return; + } ChatManager.chatSystemInfo(playerCharacter, "Promoting To Active Duty"); ArrayList currentBoxes = new ArrayList<>(); for(PlayerCharacter pc : SessionManager.getAllActivePlayerCharacters()){