From 0014fd0a818fbdd62958126404cc48b1d6db9220 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 20 Jun 2021 08:49:18 +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 insertion(+) 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 a06c7d8a..9cb50ef4 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/observer/ObserverTracer.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/observer/ObserverTracer.java @@ -114,6 +114,7 @@ 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); } }