mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 04:39:32 +00:00
Remove accidental debug messages
This commit is contained in:
parent
05ce38c5b7
commit
ce03cf4863
|
@ -2,7 +2,6 @@ package com.projectkorra.projectkorra.waterbending;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
|
@ -143,16 +142,13 @@ public class HealingWaters extends HealingAbility {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void click() {
|
public void click() {
|
||||||
Bukkit.broadcastMessage("Click!");
|
|
||||||
Entity target = GeneralMethods.getTargetedEntity(player, range);
|
Entity target = GeneralMethods.getTargetedEntity(player, range);
|
||||||
if (target != null && !target.equals(this.target) && target instanceof LivingEntity) {
|
if (target != null && !target.equals(this.target) && target instanceof LivingEntity) {
|
||||||
hasReached = false;
|
hasReached = false;
|
||||||
this.target = (LivingEntity) target;
|
this.target = (LivingEntity) target;
|
||||||
Bukkit.broadcastMessage("New Target Found!");
|
|
||||||
} else if (target != null && target.equals(this.target) && target instanceof LivingEntity) {
|
} else if (target != null && target.equals(this.target) && target instanceof LivingEntity) {
|
||||||
hasReached = false;
|
hasReached = false;
|
||||||
this.target = null;
|
this.target = null;
|
||||||
Bukkit.broadcastMessage("Target Removed!");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue