From 6f57d2366e8f3ceb728919cdd545f4776273cbf6 Mon Sep 17 00:00:00 2001 From: Electroblob77 <35599699+Electroblob77@users.noreply.github.com> Date: Fri, 16 Oct 2020 19:43:13 +0100 Subject: [PATCH] Fix healing totem beam origin for healing allies --- .../wizardry/entity/construct/EntityRadiantTotem.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/electroblob/wizardry/entity/construct/EntityRadiantTotem.java b/src/main/java/electroblob/wizardry/entity/construct/EntityRadiantTotem.java index c329eb3b..13a1b880 100644 --- a/src/main/java/electroblob/wizardry/entity/construct/EntityRadiantTotem.java +++ b/src/main/java/electroblob/wizardry/entity/construct/EntityRadiantTotem.java @@ -91,8 +91,8 @@ public class EntityRadiantTotem extends EntityScaledConstruct { targetsRemaining--; if(world.isRemote){ - ParticleBuilder.create(Type.BEAM).pos(this.getPositionVector()).target(ally) - .clr(1, 0.6f + 0.3f * world.rand.nextFloat(), 0.2f).spawn(world); + ParticleBuilder.create(Type.BEAM).pos(this.getPositionVector().add(0, height/2, 0)) + .target(ally).clr(1, 0.6f + 0.3f * world.rand.nextFloat(), 0.2f).spawn(world); } } }