Apply the entity tracker spawn fix on the integrated server too

This commit is contained in:
KAMKEEL committed 2026-08-11 12:29:57 -04:00
1 parent 605907681c
commit e3d1c9b1a7
1 file changed
+4 -5
@@ -58,11 +58,10 @@ public class CustomNPCsMixinPlugin implements IMixinConfigPlugin {
mixins.add("MixinItemStack");
}
// Server Only Mixins
if (!client) {
if (ConfigMixin.EntitySpawnFixMixin) {
mixins.add("MixinEntityTrackerEntry");
}
// The integrated server launches on the client side, so gating this on the launch
// side would skip the tracker fix in singleplayer and LAN.
if (ConfigMixin.EntitySpawnFixMixin) {
mixins.add("MixinEntityTrackerEntry");
}
return mixins;