Skip to content

Commit

Permalink
Fix NucleoidMC#38 again
Browse files Browse the repository at this point in the history
  • Loading branch information
gisellevonbingen committed Jan 7, 2025
1 parent c03f521 commit b26f895
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ public ServerPlayNetworkHandlerMixin_Disguiser(MinecraftServer server, ClientCon
if(original != null && ((EntityDisguise) original).isDisguised()) {
Entity disguised = ((EntityDisguise) original).getDisguiseEntity();
if(disguised != null) {
remove.run();
((DisguiseUtils) original).updateTrackedData();
List<DataTracker.SerializedEntry<?>> trackedValues = disguised.getDataTracker().getChangedEntries();
((EntityTrackerUpdateS2CPacketAccessor) packet).setTrackedValues(trackedValues);
add.accept(new EntityTrackerUpdateS2CPacket(entityId, disguised.getDataTracker().getChangedEntries()));
}
}
}
Expand Down

0 comments on commit b26f895

Please sign in to comment.