Removed Debug from time hologram method.

This commit is contained in:
ProSavage 2018-12-06 16:07:19 -06:00
parent 7bf5def899
commit 0584fa98bb

View File

@ -524,13 +524,11 @@ public class SavageFactions extends MPlugin {
as.setCustomName(SavageFactions.plugin.color(text)); //Set this to the text you want
as.setCustomNameVisible(true); //This makes the text appear no matter if your looking at the entity or not
final ArmorStand armorStand = as;
Bukkit.getScheduler().scheduleSyncDelayedTask(SavageFactions.plugin, new Runnable() {
@Override
public void run() {
Bukkit.broadcastMessage("removing stand");
Bukkit.getScheduler().scheduleSyncDelayedTask(SavageFactions.plugin, () -> {
armorStand.remove();
getLogger().info("Removing Hologram.");
}
}, timeout * 20);
, timeout * 20);
}