Skip to content

Commit

Permalink
Fixed: Iron Golem being excluded from the spoofing mechanics due to a…
Browse files Browse the repository at this point in the history
… statement issue.
  • Loading branch information
Bram1903 committed Mar 28, 2024
1 parent d392bce commit 2906fd4
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@ protected void handlePacket(Player player, int packetEntityId, List<EntityData>
}

if (entity instanceof IronGolem && ignoreIronGolemsEnabled) {
if (!gradualIronGolemHealthEnabled) return;
if (!healthTexturesSupported) return;
if (!gradualIronGolemHealthEnabled || !healthTexturesSupported) {
entityMetadata.forEach(this::spoofLivingEntityMetadata);
return;
}

entityMetadata.forEach(this::spoofIronGolemMetadata);
return;
Expand Down

0 comments on commit 2906fd4

Please sign in to comment.