mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +01:00
Fix branch state
This commit is contained in:
parent
246bbc80a8
commit
e7a090d9fc
@ -81,6 +81,7 @@ 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>();
|
||||
@ -110,7 +111,6 @@ 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