mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Fixed Rollers when using NO RULES.
This commit is contained in:
parent
e34b256fc6
commit
e7ab6c77c8
@ -1633,8 +1633,6 @@ public class Room implements Comparable<Room>, ISerialize, Runnable
|
||||
if (tileInFront == null)
|
||||
return true;
|
||||
|
||||
if (!InteractionRoller.NO_RULES && roller.getZ() != rollerTile.z)
|
||||
return true;
|
||||
|
||||
if (!Room.this.layout.tileExists(tileInFront.x, tileInFront.y))
|
||||
return true;
|
||||
@ -1645,9 +1643,6 @@ public class Room implements Comparable<Room>, ISerialize, Runnable
|
||||
if (!tileInFront.getAllowStack() && !(tileInFront.isWalkable() || tileInFront.state == RoomTileState.SIT || tileInFront.state == RoomTileState.LAY))
|
||||
return true;
|
||||
|
||||
if (tileInFront.getStackHeight() > Item.getCurrentHeight(roller) + rollerTile.z)
|
||||
return true;
|
||||
|
||||
if (Room.this.hasHabbosAt(tileInFront.x, tileInFront.y))
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user