Skip to content

Commit

Permalink
Fix glowing effect (#1021 #1162 #1244)
Browse files Browse the repository at this point in the history
  • Loading branch information
IzzelAliz committed Mar 8, 2024
1 parent 67c4e7b commit 7554962
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ public abstract class LivingEntityMixin extends EntityMixin implements LivingEnt
@Shadow public abstract void indicateDamage(double p_270514_, double p_270826_);
@Shadow public static EquipmentSlot getEquipmentSlotForItem(ItemStack p_147234_) { return null; }
@Shadow protected abstract void actuallyHurt(DamageSource p_21240_, float p_21241_);
@Shadow protected abstract void updateGlowingStatus();
// @formatter:on

public int expToDrop;
Expand Down Expand Up @@ -312,6 +313,7 @@ protected void tickEffects() {
if (this.effectsDirty) {
if (!this.level().isClientSide) {
this.updateInvisibilityStatus();
this.updateGlowingStatus();
}

this.effectsDirty = false;
Expand Down

0 comments on commit 7554962

Please sign in to comment.