Merge branch 'fix-bots' into 'dev'

Fix PlaceBot stackheight

See merge request morningstar/Arcturus-Community!538
This commit is contained in:
Harmonic 2022-04-13 00:22:55 +00:00
commit 9eff2274d7

View File

@ -127,7 +127,7 @@ public class BotManager {
roomUnit.setRotation(RoomUserRotation.SOUTH);
roomUnit.setLocation(location);
double stackHeight = room.getStackHeight(location.x, location.y, false);
double stackHeight = location.getStackHeight();
roomUnit.setPreviousLocationZ(stackHeight);
roomUnit.setZ(stackHeight);