mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-30 01:50:50 +01:00
Fixed Wired not returning to original height.
Example, if you use WF_Chase and the furni 'climbs' on top of another furniture it will now return to it's original height when it comes back down.
This commit is contained in:
parent
614258357b
commit
146ec8212a
@ -5622,8 +5622,8 @@ public class Room implements Comparable<Room>, ISerialize, Runnable
|
||||
{
|
||||
item.setZ(40);
|
||||
}
|
||||
|
||||
this.sendComposer(new FloorItemOnRollerComposer(item, null, tile, this.getStackHeight(tile.x, tile.y, false, item), this).compose());
|
||||
double offset = this.getStackHeight(tile.x, tile.y, false, item) - item.getZ();
|
||||
this.sendComposer(new FloorItemOnRollerComposer(item, null, tile, offset, this).compose());
|
||||
|
||||
//Update Habbos at old position
|
||||
for (RoomTile t : occupiedTiles)
|
||||
|
Loading…
Reference in New Issue
Block a user