Browse Source

mine close crash bug

lakebane-master
FatBoy-DOTC 5 months ago
parent
commit
6151a9e650
  1. 12
      src/engine/objects/Mine.java

12
src/engine/objects/Mine.java

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

Loading…
Cancel
Save