From 0a509a866c57e7bda9a11470a671bbc4d7cf4982 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Mon, 10 Feb 2020 07:39:57 +0100 Subject: [PATCH] Hotfix build error --- src/de/steamwar/lobby/listener/ParticleListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/lobby/listener/ParticleListener.java b/src/de/steamwar/lobby/listener/ParticleListener.java index af2a98b..8f9aaac 100644 --- a/src/de/steamwar/lobby/listener/ParticleListener.java +++ b/src/de/steamwar/lobby/listener/ParticleListener.java @@ -27,7 +27,7 @@ public class ParticleListener implements Listener { LobbyPlayer lobbyPlayer = LobbyPlayer.getLobbyPlayer(player.getUniqueId()); if(lobbyPlayer.getParticle() == null) return; - player.getWorld().playEffect(player.getLocation().add(0.0D, 0.2D, 0.0D), lobbyPlayer.getParticle(), 5); + player.getWorld().spawnParticle(lobbyPlayer.getParticle(), player.getLocation().add(0.0D, 0.2D, 0.0D), 5); }