Fixed Rotation Bug.

This commit is contained in:
KrewsOrg 2019-09-11 11:58:44 +01:00
parent 634961e0dd
commit 35eefc87ef

View File

@ -4467,7 +4467,7 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
}
}
//Place at new position
double height = this.getStackHeight(tile.x, tile.y, false);
double height = this.getStackHeight(tile.x, tile.y, false, item);
if(height > 40d) return FurnitureMovementError.CANT_STACK;
item.setX(tile.x);
item.setY(tile.y);