mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +01:00
Fix furni not jumping on top if not on top already
This commit is contained in:
parent
899d6cd95a
commit
ff2256f30a
@ -4488,7 +4488,7 @@ public class Room implements Comparable<Room>, 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);
|
||||
|
Loading…
Reference in New Issue
Block a user