From e4ddcdeeca05eaf90617d7e2ec81addb1a4bb52d Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 13 May 2023 13:17:47 -0400 Subject: [PATCH] Building offset added to loc. --- src/engine/objects/Building.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/objects/Building.java b/src/engine/objects/Building.java index b1dfa9d2..a2e6fc81 100644 --- a/src/engine/objects/Building.java +++ b/src/engine/objects/Building.java @@ -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; }