Merge pull request 'Fixing BlockData not in 1.12' (#108) from fixing-yoyo into master
Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
Commit
587a0fabc7
@ -158,7 +158,7 @@ public class AutoLoader extends IAutoLoader implements Listener {
|
||||
public void onPlayerInteract(PlayerInteractEvent event){
|
||||
if (event.getAction() != Action.RIGHT_CLICK_BLOCK && event.getAction() != Action.PHYSICAL)
|
||||
return;
|
||||
if (event.getClickedBlock().getBlockData().getMaterial() == Material.OBSERVER)
|
||||
if (event.getClickedBlock().getType() == Material.OBSERVER)
|
||||
return;
|
||||
if (event.getPlayer().isSneaking())
|
||||
return;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren