Fix Autoloader load at Observer
Dieser Commit ist enthalten in:
Ursprung
81c653c836
Commit
37caed14a3
@ -158,6 +158,8 @@ 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)
|
||||
return;
|
||||
|
||||
if(!setup || !event.getPlayer().equals(player))
|
||||
return;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren