mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-22 16:05:01 +00:00
Remove accidental debug messages
This commit is contained in:
parent
05ce38c5b7
commit
ce03cf4863
1 changed files with 1 additions and 5 deletions
|
@ -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!");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -346,4 +342,4 @@ public class HealingWaters extends HealingAbility {
|
|||
return location;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue