Browse Source

combat bug fix

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
c44a7eafab
  1. 4
      src/engine/objects/Mine.java

4
src/engine/objects/Mine.java

@ -717,7 +717,7 @@ public class Mine extends AbstractGameObject {
this.dividedPlayers.put(nation,newEntry); this.dividedPlayers.put(nation,newEntry);
} }
} }
if(updated == true && this.dividedPlayers.size() > 1){ //if(updated == true && this.dividedPlayers.size() > 1){
for(Integer playerID : this._playerMemory){ for(Integer playerID : this._playerMemory){
player = PlayerCharacter.getFromCache(playerID); player = PlayerCharacter.getFromCache(playerID);
if(this.dividedPlayers.containsKey(player.getGuild().getNation())){ if(this.dividedPlayers.containsKey(player.getGuild().getNation())){
@ -740,7 +740,7 @@ public class Mine extends AbstractGameObject {
ChatManager.chatSystemInfo(player,"There Was a Problem"); ChatManager.chatSystemInfo(player,"There Was a Problem");
} }
} }
} //}
} }
private Boolean onExitZerg(HashSet<AbstractWorldObject> currentPlayers) { private Boolean onExitZerg(HashSet<AbstractWorldObject> currentPlayers) {

Loading…
Cancel
Save