mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-02-18 19:32:36 +01:00
Resolves #852 - Wired walk off executed on item move
This commit is contained in:
parent
dcec439a44
commit
3a595ee4bc
@ -330,7 +330,9 @@ public abstract class HabboItem implements Runnable, IEventTriggers {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onWalkOff(RoomUnit roomUnit, Room room, Object[] objects) throws Exception {
|
public void onWalkOff(RoomUnit roomUnit, Room room, Object[] objects) throws Exception {
|
||||||
WiredHandler.handle(WiredTriggerType.WALKS_OFF_FURNI, roomUnit, room, new Object[]{this});
|
if(objects != null && objects.length > 0) {
|
||||||
|
WiredHandler.handle(WiredTriggerType.WALKS_OFF_FURNI, roomUnit, room, new Object[]{this});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract void onWalk(RoomUnit roomUnit, Room room, Object[] objects) throws Exception;
|
public abstract void onWalk(RoomUnit roomUnit, Room room, Object[] objects) throws Exception;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user