Browse Source

players already flagged active cannot promote to active

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
77cfa02bea
  1. 4
      src/engine/net/client/msg/VendorDialogMsg.java

4
src/engine/net/client/msg/VendorDialogMsg.java

@ -136,6 +136,10 @@ public class VendorDialogMsg extends ClientNetMsg {
} }
if(contract.getObjectUUID() == 1502040){ 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"); ChatManager.chatSystemInfo(playerCharacter, "Promoting To Active Duty");
ArrayList<PlayerCharacter> currentBoxes = new ArrayList<>(); ArrayList<PlayerCharacter> currentBoxes = new ArrayList<>();
for(PlayerCharacter pc : SessionManager.getAllActivePlayerCharacters()){ for(PlayerCharacter pc : SessionManager.getAllActivePlayerCharacters()){

Loading…
Cancel
Save