mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 00:40:52 +01:00
fixed wired trigger: User step on furni when on roller
This commit is contained in:
parent
d9bebe2c9e
commit
b89e6726b1
@ -16,6 +16,7 @@ import java.util.List;
|
||||
|
||||
public class InteractionRoller extends HabboItem {
|
||||
public static boolean NO_RULES = false;
|
||||
public static int DELAY = 400;
|
||||
|
||||
public InteractionRoller(ResultSet set, Item baseItem) throws SQLException {
|
||||
super(set, baseItem);
|
||||
|
@ -1459,7 +1459,7 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
||||
}
|
||||
}
|
||||
}
|
||||
}, 500);
|
||||
}, this.getRollerSpeed() == 0 ? 250 : InteractionRoller.DELAY);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
package com.eu.habbo.messages.outgoing.rooms.users;
|
||||
|
||||
import com.eu.habbo.Emulator;
|
||||
import com.eu.habbo.habbohotel.items.interactions.InteractionRoller;
|
||||
import com.eu.habbo.habbohotel.rooms.Room;
|
||||
import com.eu.habbo.habbohotel.rooms.RoomTile;
|
||||
import com.eu.habbo.habbohotel.rooms.RoomUnit;
|
||||
@ -65,7 +66,7 @@ public class RoomUnitOnRollerComposer extends MessageComposer {
|
||||
RoomUnitOnRollerComposer.this.roomUnit.setZ(RoomUnitOnRollerComposer.this.newLocation.getStackHeight());
|
||||
RoomUnitOnRollerComposer.this.roomUnit.sitUpdate = true;
|
||||
}
|
||||
}, this.room.getRollerSpeed() == 0 ? 250 : 400);
|
||||
}, this.room.getRollerSpeed() == 0 ? 250 : InteractionRoller.DELAY);
|
||||
} else {
|
||||
this.roomUnit.setLocation(this.newLocation);
|
||||
this.roomUnit.setZ(this.newZ);
|
||||
|
Loading…
Reference in New Issue
Block a user