Fixed chairs going up when rotated

This commit is contained in:
Beny 2019-05-13 03:14:34 +01:00
parent a6c3626a96
commit 2300c006fd

View File

@ -4333,7 +4333,7 @@ public class Room implements Comparable<Room>, ISerialize, Runnable
}
HabboItem lowestChair = this.getLowestChair(x, y);
if(lowestChair != null) {
if(lowestChair != null && lowestChair != exclude) {
canStack = true;
height = lowestChair.getZ() + Item.getCurrentHeight(lowestChair);
}