Fix Signedit #188
@ -116,9 +116,9 @@ public class RegionListener implements Listener {
|
||||
public void editSign(PlayerInteractEvent event) {
|
||||
if(event.getAction() != Action.RIGHT_CLICK_BLOCK ||
|
||||
!event.getClickedBlock().getType().name().contains("SIGN") ||
|
||||
!event.getPlayer().isSneaking() ||
|
||||
event.getItem() == null ||
|
||||
event.getItem().getType() != Material.AIR)
|
||||
!event.getPlayer().isSneaking())
|
||||
return;
|
||||
if(event.getItem() != null || event.getItem().getType() != Material.AIR)
|
||||
return;
|
||||
|
||||
Player player = event.getPlayer();
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren