From 1fec4f7e7c9213031a9f428955de93a6893b86f9 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 20 Jun 2021 08:50:16 +0200 Subject: [PATCH] Add ObserverTracer direction particle for spawnParticle Signed-off-by: yoyosource --- .../de/steamwar/bausystem/features/observer/ObserverTracer.java | 1 - 1 file changed, 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/observer/ObserverTracer.java b/BauSystem_Main/src/de/steamwar/bausystem/features/observer/ObserverTracer.java index 9cb50ef4..a06c7d8a 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/observer/ObserverTracer.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/observer/ObserverTracer.java @@ -114,7 +114,6 @@ public class ObserverTracer { BlockFace blockFace = ((Observer) block.getBlockData()).getFacing(); blockFace = blockFace.getOppositeFace(); player.spawnParticle(Particle.FLAME, location.clone().add(0.5 + blockFace.getModX() / 5.0, 0.5 + blockFace.getModY() / 5.0, 0.5 + blockFace.getModZ() / 5.0), 1, 0, 0, 0, 0); - player.spawnParticle(Particle.FLAME, location.clone().add(0.5 + blockFace.getModX() / 2.5, 0.5 + blockFace.getModY() / 2.5, 0.5 + blockFace.getModZ() / 2.5), 1, 0, 0, 0, 0); } }