This commit is contained in:
Electroblob77
2020-06-18 16:27:09 +01:00
parent f7f9190227
commit 3bc2ff2853
2 changed files with 2 additions and 2 deletions
@@ -83,7 +83,7 @@ public abstract class ParticleTargeted extends ParticleWizardry {
float z = (float)(this.prevPosZ + (this.posZ - this.prevPosZ) * (double)partialTicks);
// Translates the particle a short distance in front of the entity
if(this.entity != null && this.shouldApplyOriginOffset()){ // TODO: Replace with a protected boolean method
if(this.entity != null && this.shouldApplyOriginOffset()){
if(this.entity != viewer || Minecraft.getMinecraft().gameSettings.thirdPersonView != 0){
Vec3d look = entity.getLook(partialTicks).scale(THIRD_PERSON_AXIAL_OFFSET);
x += look.x;