diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/Challenge.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/Challenge.java index 18d1e5154..c64ecf5d1 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/Challenge.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/Challenge.java @@ -723,6 +723,8 @@ public abstract class Challenge implements Listener new BukkitRunnable() { + private Location loc = hologram.getLocation(); + public void run() { if (!Host.IsLive() || expiry < System.currentTimeMillis()) @@ -732,7 +734,7 @@ public abstract class Challenge implements Listener } else { - elevateHologram(hologram); + elevateHologram(hologram, loc); } } }.runTaskTimer(Host.Manager.getPlugin(), 0L, 1L); @@ -748,9 +750,9 @@ public abstract class Challenge implements Listener return hologram; } - private void elevateHologram(Hologram hologram) + private void elevateHologram(Hologram hologram, Location loc) { - Location shifted = hologram.getLocation().add(0, 0.1, 0); + Location shifted = loc.add(0, 0.1, 0); hologram.setLocation(shifted); }