Browse Source

combat bug fix

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
879b52c7c7
  1. 6
      src/engine/objects/Mine.java

6
src/engine/objects/Mine.java

@ -701,9 +701,7 @@ public class Mine extends AbstractGameObject { @@ -701,9 +701,7 @@ public class Mine extends AbstractGameObject {
}
this.totalPlayers = this._playerMemory.size();
try {
if(onExitZerg(currentPlayers)){
updated = true;
}
updated = onExitZerg(currentPlayers);
} catch (Exception e) {
Logger.error(e.getMessage());
}
@ -736,8 +734,10 @@ public class Mine extends AbstractGameObject { @@ -736,8 +734,10 @@ public class Mine extends AbstractGameObject {
break;
}
player.mineAppliedID = this.getObjectUUID();
ChatManager.chatSystemInfo(player,"ZergBuff: " + player.ZergMultiplier);
} else{
player.ZergMultiplier = 1.0f; //something went wrong reset to default until next cycle
ChatManager.chatSystemInfo(player,"There Was a Problem");
}
}
}

Loading…
Cancel
Save