mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Merge branch 'TheOleg-ms4/dev-patch-59344' into 'ms4/dev'
Update InteractionInformationTerminal.java See merge request morningstar/Arcturus-Community!10
This commit is contained in:
commit
bb3f011b0c
@ -24,10 +24,20 @@ public class InteractionInformationTerminal extends InteractionCustomValues {
|
||||
public InteractionInformationTerminal(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells) {
|
||||
super(id, userId, item, extradata, limitedStack, limitedSells, defaultValues);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canWalkOn(RoomUnit roomUnit, Room room, Object[] objects) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onWalk(RoomUnit roomUnit, Room room, Object[] objects) throws Exception {
|
||||
super.onWalk(roomUnit, room, objects);
|
||||
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);
|
||||
if (habbo != null && this.values.containsKey("internalLink")) {
|
||||
|
Loading…
Reference in New Issue
Block a user