mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 08:50:51 +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)
|
if (unit == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
||||||
if (tileInfront.x == unit.getX() && tileInfront.y == unit.getY()) {
|
if (tileInfront.x == unit.getX() && tileInfront.y == unit.getY()) {
|
||||||
if (!currentLocation.hasUnits()) {
|
if (!currentLocation.hasUnits()) {
|
||||||
List<Runnable> onSuccess = new ArrayList<Runnable>();
|
List<Runnable> onSuccess = new ArrayList<Runnable>();
|
||||||
@ -111,6 +110,7 @@ public class InteractionOneWayGate extends HabboItem {
|
|||||||
unit.setGoalLocation(currentLocation);
|
unit.setGoalLocation(currentLocation);
|
||||||
Emulator.getThreading().run(new RoomUnitWalkToLocation(unit, currentLocation, room, onSuccess, onFail));
|
Emulator.getThreading().run(new RoomUnitWalkToLocation(unit, currentLocation, room, onSuccess, onFail));
|
||||||
room.sendComposer(new ItemIntStateComposer(this.getId(), 1).compose());
|
room.sendComposer(new ItemIntStateComposer(this.getId(), 1).compose());
|
||||||
|
super.onWalkOn(unit, room, objects);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
room.scheduledTasks.add(new Runnable()
|
room.scheduledTasks.add(new Runnable()
|
||||||
|
Loading…
Reference in New Issue
Block a user