mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 00:40:52 +01:00
Update InteractionInformationTerminal.java
This commit is contained in:
parent
def03027b0
commit
4c6286dd65
@ -26,8 +26,18 @@ public class InteractionInformationTerminal extends InteractionCustomValues {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onWalk(RoomUnit roomUnit, Room room, Object[] objects) throws Exception {
|
public boolean canWalkOn(RoomUnit roomUnit, Room room, Object[] objects) {
|
||||||
super.onWalk(roomUnit, room, objects);
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isWalkable() {
|
||||||
|
return this.getBaseItem().allowWalk();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onWalkOn(RoomUnit roomUnit, Room room, Object[] objects) throws Exception {
|
||||||
|
super.onWalkOn(roomUnit, room, objects);
|
||||||
|
|
||||||
Habbo habbo = room.getHabbo(roomUnit);
|
Habbo habbo = room.getHabbo(roomUnit);
|
||||||
if (habbo != null && this.values.containsKey("internalLink")) {
|
if (habbo != null && this.values.containsKey("internalLink")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user