mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-02-18 19:32:36 +01:00
Changed sitting on lowest chair to tallest chair - Fixes #449
This commit is contained in:
parent
d652210751
commit
f7d86dd8cd
@ -3572,7 +3572,7 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
|||||||
if(!item.getBaseItem().allowSit())
|
if(!item.getBaseItem().allowSit())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if(lowestChair != null && lowestChair.getZ() + Item.getCurrentHeight(lowestChair) < item.getZ() + Item.getCurrentHeight(item))
|
if(lowestChair != null && lowestChair.getZ() + Item.getCurrentHeight(lowestChair) > item.getZ() + Item.getCurrentHeight(item))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
lowestChair = item;
|
lowestChair = item;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user