mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-23 18:45:39 +01:00
spawn egg fix
This commit is contained in:
parent
59607a5334
commit
82ac0044f6
@ -53,10 +53,8 @@ public class SpawnerListeners implements Listener {
|
||||
|| !event.getAction().equals(Action.RIGHT_CLICK_BLOCK))
|
||||
return;
|
||||
|
||||
if (event.getItem() == null) {
|
||||
event.setCancelled(true);
|
||||
if (event.getItem() == null)
|
||||
return;
|
||||
}
|
||||
|
||||
Material itemType = event.getItem().getType();
|
||||
Block block = event.getClickedBlock();
|
||||
|
Loading…
Reference in New Issue
Block a user