Removed debug

This commit is contained in:
Brianna 2019-06-27 14:56:49 -04:00
parent 97d2084966
commit 70fbf7a3e5
1 changed files with 0 additions and 2 deletions

View File

@ -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);
}
}