From ff2256f30afc30eaf242c46b1dd6d9de72bc41d3 Mon Sep 17 00:00:00 2001 From: Alejandro <25-alejandro@users.noreply.git.krews.org> Date: Sat, 1 Feb 2020 12:54:59 +0200 Subject: [PATCH] Fix furni not jumping on top if not on top already --- src/main/java/com/eu/habbo/habbohotel/rooms/Room.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java b/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java index 3c537005..f47754a5 100644 --- a/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java +++ b/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java @@ -4488,7 +4488,7 @@ public class Room implements Comparable, ISerialize, Runnable { //Place at new position double height = this.getStackHeight(tile.x, tile.y, false, item); - if (tile.x == item.getX() && tile.y == item.getY()) height = item.getZ(); + if (item.equals(topItem) && tile.x == item.getX() && tile.y == item.getY()) height = item.getZ(); if(height > 40d) return FurnitureMovementError.CANT_STACK; item.setX(tile.x);