mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2025-02-08 00:11:27 +01:00
chore: pre-commit changes [skip ci]
This commit is contained in:
parent
53fad3360c
commit
297ddd278b
@ -133,7 +133,6 @@ public class Listeners implements Listener {
|
||||
&& (event.getAction() == Action.LEFT_CLICK_BLOCK
|
||||
|| event.getAction() == Action.RIGHT_CLICK_BLOCK)
|
||||
&& event.getItem() != null) {
|
||||
|
||||
if (event.getClickedBlock() == null)
|
||||
return;
|
||||
if (event.getItem().getItemMeta() == null)
|
||||
|
Loading…
Reference in New Issue
Block a user