mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-26 08:20:51 +01:00
Merge branch 'fix-bots' into 'dev'
Fix PlaceBot stackheight See merge request morningstar/Arcturus-Community!538
This commit is contained in:
commit
9eff2274d7
@ -127,7 +127,7 @@ public class BotManager {
|
|||||||
roomUnit.setRotation(RoomUserRotation.SOUTH);
|
roomUnit.setRotation(RoomUserRotation.SOUTH);
|
||||||
roomUnit.setLocation(location);
|
roomUnit.setLocation(location);
|
||||||
|
|
||||||
double stackHeight = room.getStackHeight(location.x, location.y, false);
|
double stackHeight = location.getStackHeight();
|
||||||
roomUnit.setPreviousLocationZ(stackHeight);
|
roomUnit.setPreviousLocationZ(stackHeight);
|
||||||
roomUnit.setZ(stackHeight);
|
roomUnit.setZ(stackHeight);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user