Fix healing totem beam origin for healing allies
This commit is contained in:
@@ -91,8 +91,8 @@ public class EntityRadiantTotem extends EntityScaledConstruct {
|
|||||||
targetsRemaining--;
|
targetsRemaining--;
|
||||||
|
|
||||||
if(world.isRemote){
|
if(world.isRemote){
|
||||||
ParticleBuilder.create(Type.BEAM).pos(this.getPositionVector()).target(ally)
|
ParticleBuilder.create(Type.BEAM).pos(this.getPositionVector().add(0, height/2, 0))
|
||||||
.clr(1, 0.6f + 0.3f * world.rand.nextFloat(), 0.2f).spawn(world);
|
.target(ally).clr(1, 0.6f + 0.3f * world.rand.nextFloat(), 0.2f).spawn(world);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user