Effect now apply correctly on pressureplate - Closes #752

This commit is contained in:
Beny 2020-10-15 11:22:45 +02:00
parent bf704b4e23
commit b49a0e652a

View File

@ -40,14 +40,6 @@ public class InteractionPressurePlate extends InteractionDefault {
super.onClick(client, room, objects); super.onClick(client, room, objects);
} }
@Override
public void serializeExtradata(ServerMessage serverMessage) {
serverMessage.appendInt((this.isLimited() ? 256 : 0));
serverMessage.appendString(this.getExtradata());
super.serializeExtradata(serverMessage);
}
@Override @Override
public void onWalk(RoomUnit roomUnit, Room room, Object[] objects) throws Exception { public void onWalk(RoomUnit roomUnit, Room room, Object[] objects) throws Exception {