Browse Source

Returns all not just active mines

bane-update2
MagicBot 2 months ago
parent
commit
62235497ad
  1. 3
      src/engine/objects/Mine.java

3
src/engine/objects/Mine.java

@ -220,8 +220,7 @@ public class Mine extends AbstractGameObject { @@ -220,8 +220,7 @@ public class Mine extends AbstractGameObject {
// Only inactive mines are returned.
for (Mine mine : Mine.mineMap.keySet()) {
if (mine.owningGuild.getObjectUUID() == guildID &&
mine.isActive == false)
if (mine.owningGuild.getObjectUUID() == guildID)
mineList.add(mine);
}
return mineList;

Loading…
Cancel
Save