From 90b1b29b190d47238ec2eff045bf4c47bc90cc74 Mon Sep 17 00:00:00 2001 From: wickersoft Date: Fri, 7 Jul 2017 13:42:06 +0200 Subject: [PATCH] Removed debug lines, argh --- .../src/main/java/zedly/zenchantments/CustomEnchantment.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Zenchantments/src/main/java/zedly/zenchantments/CustomEnchantment.java b/Zenchantments/src/main/java/zedly/zenchantments/CustomEnchantment.java index 86a991f7..d6449845 100644 --- a/Zenchantments/src/main/java/zedly/zenchantments/CustomEnchantment.java +++ b/Zenchantments/src/main/java/zedly/zenchantments/CustomEnchantment.java @@ -1733,10 +1733,9 @@ public int getEnchantmentId() { @Override public boolean onFastScan(Player player, int level, boolean usedHand) { if (player.isGliding() && player.getVelocity().length() >= 1) { - System.out.print(player.getVelocity().length()); for (Entity e : player.getNearbyEntities(2 + level, 3, 2 + level)) { double damage = player.getVelocity().length() * 1.5 * level; - if (e instanceof LivingEntity) { + if (e instanceof Monster) { ADAPTER.attackEntity((LivingEntity) e, player, power * damage); } }