Fix PlaceBot stackheight

This commit is contained in:
brenoepic 2022-04-12 14:55:30 -03:00
parent 9c4b1df499
commit 890cdd519a

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);