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,8 +330,10 @@ public abstract class HabboItem implements Runnable, IEventTriggers {
|
||||
|
||||
@Override
|
||||
public void onWalkOff(RoomUnit roomUnit, Room room, Object[] objects) throws Exception {
|
||||
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user