13
0

Hotfix WorldInteraction
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2022-03-27 00:27:01 +01:00
Ursprung 52da054d5f
Commit 60f0a42337

Datei anzeigen

@ -87,6 +87,9 @@ public class WorldInteraction extends BasicListener {
@EventHandler
public void handleGoldenPressurePlate(PlayerInteractEvent event) {
if(!ModifyCommand.modifying(event.getPlayer()))
event.setCancelled(true);
if(!event.hasBlock() || event.getAction() != Action.PHYSICAL || event.getClickedBlock().getType() != Material.LIGHT_WEIGHTED_PRESSURE_PLATE)
return;