Dieser Commit ist enthalten in:
Ursprung
60f0a42337
Commit
63146ede57
@ -87,7 +87,7 @@ public class WorldInteraction extends BasicListener {
|
||||
|
||||
@EventHandler
|
||||
public void handleGoldenPressurePlate(PlayerInteractEvent event) {
|
||||
if(!ModifyCommand.modifying(event.getPlayer()))
|
||||
if(!ModifyCommand.modifying(event.getPlayer()) && (event.getAction() == Action.RIGHT_CLICK_BLOCK || event.getAction() == Action.LEFT_CLICK_BLOCK))
|
||||
event.setCancelled(true);
|
||||
|
||||
if(!event.hasBlock() || event.getAction() != Action.PHYSICAL || event.getClickedBlock().getType() != Material.LIGHT_WEIGHTED_PRESSURE_PLATE)
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren