Fix pressure plates

This commit is contained in:
brenoepic 2022-03-03 22:27:30 +00:00 committed by Remco
parent e195a108b1
commit e6c1766c2c

View File

@ -37,7 +37,7 @@ public class InteractionPressurePlate extends InteractionDefault {
@Override
public void onClick(GameClient client, Room room, Object[] objects) throws Exception {
super.onClick(client, room, objects);
}
@Override
@ -66,6 +66,11 @@ public class InteractionPressurePlate extends InteractionDefault {
updateState(room);
}
@Override
public void onPickUp(Room room) {
this.setExtradata("0");
}
public void updateState(Room room) {
boolean occupied = false;