Remove accidental debug messages

This commit is contained in:
Christopher Martin 2016-10-16 16:42:25 -07:00 committed by GitHub
parent 05ce38c5b7
commit ce03cf4863

View file

@ -2,7 +2,6 @@ package com.projectkorra.projectkorra.waterbending;
import java.util.HashMap;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
@ -143,16 +142,13 @@ public class HealingWaters extends HealingAbility {
}
public void click() {
Bukkit.broadcastMessage("Click!");
Entity target = GeneralMethods.getTargetedEntity(player, range);
if (target != null && !target.equals(this.target) && target instanceof LivingEntity) {
hasReached = false;
this.target = (LivingEntity) target;
Bukkit.broadcastMessage("New Target Found!");
} else if (target != null && target.equals(this.target) && target instanceof LivingEntity) {
hasReached = false;
this.target = null;
Bukkit.broadcastMessage("Target Removed!");
}
}