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 85e192c commit 07255c6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ public abstract class LivingEntityMixin extends EntityMixin implements LivingEnt
@Shadow public abstract AttributeMap getAttributes();
// @formatter:on

@Shadow protected abstract void updateGlowingStatus();

public int expToDrop;
public boolean forceDrops;
public CraftAttributeMap craftAttributes;
Expand Down Expand Up @@ -304,6 +306,7 @@ protected void tickEffects() {
if (this.effectsDirty) {
if (!this.level().isClientSide) {
this.updateInvisibilityStatus();
this.updateGlowingStatus();
}

this.effectsDirty = false;
Expand Down

0 comments on commit 07255c6

Please sign in to comment.