Browse Source

Building offset added to loc.

master
MagicBot 2 years ago
parent
commit
e4ddcdeeca
  1. 1
      src/engine/objects/Building.java

1
src/engine/objects/Building.java

@ -1249,6 +1249,7 @@ public class Building extends AbstractWorldObject { @@ -1249,6 +1249,7 @@ public class Building extends AbstractWorldObject {
return this.getLoc();
stuckLocation = stuckLocations.get(ThreadLocalRandom.current().nextInt(stuckLocations.size())).getLocation();
stuckLocation = this.getLoc().add(stuckLocation);
return stuckLocation;
}

Loading…
Cancel
Save