Removed Debug from time hologram method.
This commit is contained in:
parent
7bf5def899
commit
0584fa98bb
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user