mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 12:22:36 +01:00
Roller fixes.
This commit is contained in:
parent
2300c006fd
commit
3cbb9f5bd8
@ -1575,7 +1575,14 @@ public class Room implements Comparable<Room>, ISerialize, Runnable
|
||||
THashSet<HabboItem> itemsOnRoller = new THashSet<>();
|
||||
|
||||
RoomTile rollerTile = Room.this.layout.getTile(roller.getX(), roller.getY());
|
||||
itemsOnRoller.addAll(this.getItemsAt(rollerTile));
|
||||
for(HabboItem item : getItemsAt(rollerTile))
|
||||
{
|
||||
if(item.getZ() >= roller.getZ() + Item.getCurrentHeight(roller)) {
|
||||
itemsOnRoller.add(item);
|
||||
}
|
||||
}
|
||||
|
||||
// itemsOnRoller.addAll(this.getItemsAt(rollerTile));
|
||||
itemsOnRoller.remove(roller);
|
||||
|
||||
if (habbosOnRoller.isEmpty() && itemsOnRoller.isEmpty() && botsOnRoller.isEmpty())
|
||||
|
Loading…
x
Reference in New Issue
Block a user