Building offset added to loc.
This commit is contained in:
1 parent
69f3c9af71
commit
e4ddcdeeca
1 file changed
+1
@@ -1249,6 +1249,7 @@ public class Building extends AbstractWorldObject {
|
|||||||
return this.getLoc();
|
return this.getLoc();
|
||||||
|
|
||||||
stuckLocation = stuckLocations.get(ThreadLocalRandom.current().nextInt(stuckLocations.size())).getLocation();
|
stuckLocation = stuckLocations.get(ThreadLocalRandom.current().nextInt(stuckLocations.size())).getLocation();
|
||||||
|
stuckLocation = this.getLoc().add(stuckLocation);
|
||||||
|
|
||||||
return stuckLocation;
|
return stuckLocation;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user