mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-11-26 04:15:11 +01:00
Updated Moving holograms (markdown)
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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user