mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 18:49:39 +00:00
Apply the entity tracker spawn fix on the integrated server too
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user