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.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);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user