mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +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 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!");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -346,4 +342,4 @@ public class HealingWaters extends HealingAbility {
|
||||||
return location;
|
return location;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue