Merge branch 'fix-pressure-plates' into 'dev'

Fix pressure plates

See merge request morningstar/Arcturus-Community!485
This commit is contained in:
Remco 2022-03-03 22:27:30 +00:00
commit 80bdfb1522

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;