Dieser Commit ist enthalten in:
Ursprung
d1e73f9d2a
Commit
a570d48872
@ -135,7 +135,7 @@ public class IngameListener extends GameStateBukkitListener {
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void onPlayerInteract(PlayerInteractEvent event) {
|
||||
public void onKeyUse(PlayerInteractEvent event) {
|
||||
if (!event.hasItem()) return;
|
||||
if (event.getItem().getType() != Material.LEVER) return;
|
||||
event.setCancelled(true);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren