Browse Source

Returns all not just active mines

bane-update2
MagicBot 3 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 {
// Only inactive mines are returned. // Only inactive mines are returned.
for (Mine mine : Mine.mineMap.keySet()) { for (Mine mine : Mine.mineMap.keySet()) {
if (mine.owningGuild.getObjectUUID() == guildID && if (mine.owningGuild.getObjectUUID() == guildID)
mine.isActive == false)
mineList.add(mine); mineList.add(mine);
} }
return mineList; return mineList;

Loading…
Cancel
Save