From 0584fa98bb2669e7aee33e5c5a40837517abc3f7 Mon Sep 17 00:00:00 2001 From: ProSavage Date: Thu, 6 Dec 2018 16:07:19 -0600 Subject: [PATCH] Removed Debug from time hologram method. --- .../com/massivecraft/factions/SavageFactions.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/massivecraft/factions/SavageFactions.java b/src/main/java/com/massivecraft/factions/SavageFactions.java index cb61a988..7a506320 100644 --- a/src/main/java/com/massivecraft/factions/SavageFactions.java +++ b/src/main/java/com/massivecraft/factions/SavageFactions.java @@ -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"); - armorStand.remove(); - } - }, timeout * 20); + Bukkit.getScheduler().scheduleSyncDelayedTask(SavageFactions.plugin, () -> { + armorStand.remove(); + getLogger().info("Removing Hologram."); + } + , timeout * 20); }