Browse Source

Accessor level change

master
MagicBot 2 years ago
parent
commit
53a6b09099
  1. 6
      src/engine/objects/Mine.java

6
src/engine/objects/Mine.java

@ -48,8 +48,8 @@ public class Mine extends AbstractGameObject {
private float longitude; private float longitude;
private float altitude; private float altitude;
private Guild owningGuild; private Guild owningGuild;
private PlayerCharacter lastClaimer; public PlayerCharacter lastClaimer;
private SessionID lastClaimerSessionID; public SessionID lastClaimerSessionID;
private int flags; private int flags;
private int buildingID; private int buildingID;
@ -488,11 +488,13 @@ 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.
if (!validClaimer(this.lastClaimer)) { if (!validClaimer(this.lastClaimer)) {
this.lastClaimerSessionID = null; this.lastClaimerSessionID = null;
this.lastClaimer = null; this.lastClaimer = null;
this.updateGuildOwner(null); this.updateGuildOwner(null);
this.setActive(true);
return false; return false;
} }

Loading…
Cancel
Save