mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-07 19:19:32 +01:00
Removed debug
This commit is contained in:
parent
97d2084966
commit
70fbf7a3e5
@ -41,10 +41,8 @@ public class SpawnerListeners implements Listener {
|
||||
@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true)
|
||||
public void onSpawnerSpawn(SpawnerSpawnEvent event) {
|
||||
if (!instance.spawnersEnabled() || !(event.getEntity() instanceof LivingEntity)) return;
|
||||
Bukkit.broadcastMessage("doing a spawn");
|
||||
|
||||
if (instance.getStackingTask().attemptAddToStack((LivingEntity) event.getEntity(), null)) {
|
||||
Bukkit.broadcastMessage("Doing a stack");
|
||||
event.setCancelled(true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user