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.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 as.setCustomNameVisible(true); //This makes the text appear no matter if your looking at the entity or not
final ArmorStand armorStand = as; final ArmorStand armorStand = as;
Bukkit.getScheduler().scheduleSyncDelayedTask(SavageFactions.plugin, new Runnable() { Bukkit.getScheduler().scheduleSyncDelayedTask(SavageFactions.plugin, () -> {
@Override armorStand.remove();
public void run() { getLogger().info("Removing Hologram.");
Bukkit.broadcastMessage("removing stand"); }
armorStand.remove(); , timeout * 20);
}
}, timeout * 20);
} }