From 3bc2ff2853cb79b181f18b2956129aa0010a81b6 Mon Sep 17 00:00:00 2001 From: Electroblob77 <35599699+Electroblob77@users.noreply.github.com> Date: Thu, 18 Jun 2020 16:27:09 +0100 Subject: [PATCH] Cleanup --- .../wizardry/client/model/BakedModelGlowingOverlay.java | 2 +- .../electroblob/wizardry/client/particle/ParticleTargeted.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/electroblob/wizardry/client/model/BakedModelGlowingOverlay.java b/src/main/java/electroblob/wizardry/client/model/BakedModelGlowingOverlay.java index c3324830..960e95a5 100644 --- a/src/main/java/electroblob/wizardry/client/model/BakedModelGlowingOverlay.java +++ b/src/main/java/electroblob/wizardry/client/model/BakedModelGlowingOverlay.java @@ -28,7 +28,7 @@ import java.util.List; *
* N.B. This doesn't cover item models, and all of the code/model solutions to this that I have tried haven't worked. * However, I noticed that the shade tag seems to work perfectly for items, so instead I've simply duplicated the block - * models into the item models folder and add {@code "shade":false} where appropriate. (If it works, it works, right?) + * models into the item models folder and add {@code "shade":false} where appropriate. (If it works, it works, right?) * * @author Electroblob * @author raoulvdberge diff --git a/src/main/java/electroblob/wizardry/client/particle/ParticleTargeted.java b/src/main/java/electroblob/wizardry/client/particle/ParticleTargeted.java index b7942a75..2218509c 100644 --- a/src/main/java/electroblob/wizardry/client/particle/ParticleTargeted.java +++ b/src/main/java/electroblob/wizardry/client/particle/ParticleTargeted.java @@ -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;