Updated Moving holograms (markdown)

filoghost 2018-02-03 20:07:38 +01:00
parent c10d82004f
commit 8f0463e5f6

@ -18,7 +18,8 @@ new BukkitRunnable() {
ticksRun++; ticksRun++;
hologram.teleport(player.getLocation().add(0.0, 2.0, 0.0)); hologram.teleport(player.getLocation().add(0.0, 2.0, 0.0));
if (ticksRun > 100) { // 100 ticks = 5 seconds // 100 ticks = 5 seconds
if (ticksRun > 100) {
hologram.delete(); hologram.delete();
cancel(); cancel();
} }