Remove debug messages

This commit is contained in:
xGamingDudex 2016-10-22 09:40:06 +02:00
parent cfd2343f0e
commit 1ae89adfb0

View File

@ -3,7 +3,6 @@ package nautilus.game.arcade.game.games.smash.perks.spider;
import java.util.HashMap;
import java.util.Map;
import org.bukkit.Bukkit;
import org.bukkit.Sound;
import org.bukkit.block.Block;
import org.bukkit.entity.LivingEntity;
@ -11,7 +10,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.entity.EntityDamageEvent.DamageCause;
import org.bukkit.event.entity.EntityRegainHealthEvent;
import mineplex.core.common.util.UtilBlock;
import mineplex.core.common.util.UtilParticle;
@ -154,18 +152,4 @@ public class SmashSpider extends SmashUltimate
}
}
@EventHandler(priority = EventPriority.HIGHEST)
public void onRegen(EntityRegainHealthEvent event)
{
if(!(event.getEntity() instanceof Player)) return;
Player p = (Player) event.getEntity();
if(!hasPerk(p))
{
return;
}
Bukkit.broadcastMessage("Regen: " + p.getName() + " - " + event.getRegainReason().name() + " - " + event.getAmount() + " " + event.isCancelled());
}
}