mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
Merge branch 'fix-pressure-plates' into 'dev'
Fix pressure plates See merge request morningstar/Arcturus-Community!485
This commit is contained in:
commit
80bdfb1522
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user