mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 12:22:36 +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)
|
if (tileInFront == null)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (!InteractionRoller.NO_RULES && roller.getZ() != rollerTile.z)
|
|
||||||
return true;
|
|
||||||
|
|
||||||
if (!Room.this.layout.tileExists(tileInFront.x, tileInFront.y))
|
if (!Room.this.layout.tileExists(tileInFront.x, tileInFront.y))
|
||||||
return true;
|
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))
|
if (!tileInFront.getAllowStack() && !(tileInFront.isWalkable() || tileInFront.state == RoomTileState.SIT || tileInFront.state == RoomTileState.LAY))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (tileInFront.getStackHeight() > Item.getCurrentHeight(roller) + rollerTile.z)
|
|
||||||
return true;
|
|
||||||
|
|
||||||
if (Room.this.hasHabbosAt(tileInFront.x, tileInFront.y))
|
if (Room.this.hasHabbosAt(tileInFront.x, tileInFront.y))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user