World Issue

Upon creating a new world the console gets filled with a largeeee amount of error messagges and the server stops .

Mods/Plugins present :
Pixelmon 4.2.5 -
Custom NPCS 1.8.9 -
EssentialCmds-8.1.1 -
spongeforge-1.8.9-1808-4.1.0-BETA-1303 -
worldedit-forge-mc1.8.9-6.1.1-dist -

Error report 1 : http://pastebin.com/7v2572PY
Error report 2 : http://pastebin.com/aNf76NHM

The following part of the stack trace repeats:

at net.minecraft.world.World.func_72838_d(World.java:321) ~[adm.class:?]
at 
com.pixelmonmod.pixelmon.listener.spawn.ReplaceMCVillagers.onVillagerSpawn(ReplaceMCVillagers.java:43)
 ~[ReplaceMCVillagers.class:?]
at 
net.minecraftforge.fml.common.eventhandler.ASMEventHandler_37_ReplaceMCVillagers_onVillagerSpawn_EntityJoinWorldEvent.invoke(.dynamic)
 ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49) ~[ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:84) ~[EventBus.class:?]
at 
org.spongepowered.mod.event.SpongeForgeEventFactory.callEntityJoinWorldEvent(SpongeForgeEventFactory.java:892)
 ~[SpongeForgeEventFactory.class:1.8.9-1808-4.1.0-BETA-1303]
at 
org.spongepowered.mod.event.SpongeForgeEventFactory.callForgeEvent(SpongeForgeEventFactory.java:338)
 ~[SpongeForgeEventFactory.class:1.8.9-1808-4.1.0-BETA-1303]
at 
org.spongepowered.mod.event.SpongeModEventManager.postBulk(SpongeModEventManager.java:197)
 ~[SpongeModEventManager.class:1.8.9-1808-4.1.0-BETA-1303]
at 
org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:244)
 ~[SpongeModEventManager.class:1.8.9-1808-4.1.0-BETA-1303]
at 
org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:229)
 ~[SpongeModEventManager.class:1.8.9-1808-4.1.0-BETA-1303]
at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:131) ~[SpongeImpl.class:1.8.9-1808-4.1.0-BETA-1303]
at 
org.spongepowered.common.event.CauseTracker.processSpawnEntity(CauseTracker.java:1080)
 ~[CauseTracker.class:1.8.9-1808-4.1.0-BETA-1303]

From what I can tell, Sponge doesn’t seem to like entity spawns happening while it’s sending entity spawn events. Probably has something to do with the CauseTracker refactor.

1 Like

there’s a conflict between Pixelmon and Sponge where both are trying to spawn Villager entities but Sponge is attempting it after Pixelmon has swapped the defaults for ChattingNPCs, thus making a mess of infinitely spawning invisible/errored entities on the client and obviously causing this error

1 Like

I hope it gets fixed soon , I can’t work on my servers . Even if i import a world made in a separate server (With no MODS ) it crashes .

I have pushed a fix that hopefully fixes the problem you’re having
Try SpongeForge build 1310

1 Like

Love you my man :heart_eyes_cat: