mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +01:00
Merge branch 'dev' of https://git.krews.org/Remco/Arcturus-Community into dev
This commit is contained in:
commit
e72d1780eb
@ -81,7 +81,6 @@ public class InteractionOneWayGate extends HabboItem {
|
||||
if (unit == null)
|
||||
return;
|
||||
|
||||
|
||||
if (tileInfront.x == unit.getX() && tileInfront.y == unit.getY()) {
|
||||
if (!currentLocation.hasUnits()) {
|
||||
List<Runnable> onSuccess = new ArrayList<Runnable>();
|
||||
@ -111,6 +110,7 @@ public class InteractionOneWayGate extends HabboItem {
|
||||
unit.setGoalLocation(currentLocation);
|
||||
Emulator.getThreading().run(new RoomUnitWalkToLocation(unit, currentLocation, room, onSuccess, onFail));
|
||||
room.sendComposer(new ItemIntStateComposer(this.getId(), 1).compose());
|
||||
super.onWalkOn(unit, room, objects);
|
||||
|
||||
/*
|
||||
room.scheduledTasks.add(new Runnable()
|
||||
|
Loading…
Reference in New Issue
Block a user