Fix Signedit
Dieser Commit ist enthalten in:
Ursprung
fee6807d3b
Commit
76cf208379
@ -117,8 +117,7 @@ public class RegionListener implements Listener {
|
|||||||
if(event.getAction() != Action.RIGHT_CLICK_BLOCK ||
|
if(event.getAction() != Action.RIGHT_CLICK_BLOCK ||
|
||||||
!event.getClickedBlock().getType().name().contains("SIGN") ||
|
!event.getClickedBlock().getType().name().contains("SIGN") ||
|
||||||
!event.getPlayer().isSneaking() ||
|
!event.getPlayer().isSneaking() ||
|
||||||
event.getItem() != null ||
|
(event.getItem() != null && event.getItem().getType() != Material.AIR))
|
||||||
event.getItem().getType() != Material.AIR)
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Player player = event.getPlayer();
|
Player player = event.getPlayer();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren