From 890cdd519a2a16205eca63ba93359a4631206082 Mon Sep 17 00:00:00 2001 From: brenoepic <59066707+brenoepics@users.noreply.github.com> Date: Tue, 12 Apr 2022 14:55:30 -0300 Subject: [PATCH] Fix PlaceBot stackheight --- src/main/java/com/eu/habbo/habbohotel/bots/BotManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/eu/habbo/habbohotel/bots/BotManager.java b/src/main/java/com/eu/habbo/habbohotel/bots/BotManager.java index 9a8129ae..2eebcc6f 100644 --- a/src/main/java/com/eu/habbo/habbohotel/bots/BotManager.java +++ b/src/main/java/com/eu/habbo/habbohotel/bots/BotManager.java @@ -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);