mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 00:40:52 +01:00
Fixed hotel.room.rollers.norules.
This commit is contained in:
parent
c542f62463
commit
1eda3d78fa
@ -1596,8 +1596,10 @@ public class Room implements Comparable<Room>, ISerialize, Runnable
|
|||||||
|
|
||||||
for(HabboItem item : getItemsAt(rollerTile))
|
for(HabboItem item : getItemsAt(rollerTile))
|
||||||
{
|
{
|
||||||
|
if(item.getZ() >= roller.getZ() + roller.getBaseItem().getHeight()) {
|
||||||
itemsOnRoller.add(item);
|
itemsOnRoller.add(item);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
itemsOnRoller.remove(roller);
|
itemsOnRoller.remove(roller);
|
||||||
|
|
||||||
@ -1612,7 +1614,6 @@ public class Room implements Comparable<Room>, ISerialize, Runnable
|
|||||||
if (tileInFront == null)
|
if (tileInFront == null)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
||||||
if (!Room.this.layout.tileExists(tileInFront.x, tileInFront.y))
|
if (!Room.this.layout.tileExists(tileInFront.x, tileInFront.y))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
@ -1758,7 +1759,7 @@ public class Room implements Comparable<Room>, ISerialize, Runnable
|
|||||||
messages.clear();
|
messages.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((allowFurniture || !stackContainsRoller) && !InteractionRoller.NO_RULES)
|
if (allowFurniture || !stackContainsRoller || InteractionRoller.NO_RULES)
|
||||||
{
|
{
|
||||||
Event furnitureRolledEvent = null;
|
Event furnitureRolledEvent = null;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user