Browse Source

mine close crash bug

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
01662aae07
  1. 12
      src/engine/objects/Mine.java

12
src/engine/objects/Mine.java

@ -634,12 +634,12 @@ public class Mine extends AbstractGameObject {
// This mine does not have a valid claimer // This mine does not have a valid claimer
// we will therefore set it to errant // we will therefore set it to errant
// and keep the window open. // and keep the window open.
if (!Mine.validateClaimer(mine.lastClaimer)) { //if (!Mine.validateClaimer(mine.lastClaimer)) {
mine.lastClaimer = null; // mine.lastClaimer = null;
mine.updateGuildOwner(null); // mine.updateGuildOwner(null);
mine.setActive(true); // mine.setActive(true);
return false; // return false;
} //}
//Update ownership to map //Update ownership to map
mine.guildName = mine.getOwningGuild().getName(); mine.guildName = mine.getOwningGuild().getName();
mine.guildTag = mine.getOwningGuild().getGuildTag(); mine.guildTag = mine.getOwningGuild().getGuildTag();

Loading…
Cancel
Save