Pixelmon Generations npcs cause fatal error when spawning with spongeforge

07:40:34 [Server] INFO at io.netty.channel.AbstractChannelHandlerContext.invoke - Pastebin.com this what happens after spawning an npc with the npc editor both with latest versions of pixelmon generations and spongeforge if anyone knows a fix i woul really appreciate it.

20.12 07:40:34 [Server] INFO java.lang.IllegalStateException: CauseStackManager called from off main thread (current='Thread{class=class java.lang.Thread, name=Netty Epoll Server IO #3, priority=5, group=net.minecraftforge.fml.common.thread.SidedThreadGroup[name=SERVER,maxpri=10]}', expected='Thread{class=class java.lang.Thread, name=Server thread, priority=5, group=net.minecraftforge.fml.common.thread.SidedThreadGroup[name=SERVER,maxpri=10]}')!
20.12 07:40:34 [Server] INFO    at org.spongepowered.common.event.SpongeCauseStackManager.enforceMainThread(SpongeCauseStackManager.java:121) ~[SpongeCauseStackManager.class:1.12.2-2838-7.1.7]
20.12 07:40:34 [Server] INFO    at org.spongepowered.common.event.SpongeCauseStackManager.getCurrentCause(SpongeCauseStackManager.java:136) ~[SpongeCauseStackManager.class:1.12.2-2838-7.1.7]
20.12 07:40:34 [Server] INFO    at net.minecraft.network.datasync.EntityDataManager.set(SourceFile:1095) ~[nb.class:?]
20.12 07:40:34 [Server] INFO    at net.minecraft.entity.EntityLivingBase.setHealth(EntityLivingBase.java:845) ~[vp.class:?]
20.12 07:40:34 [Server] INFO    at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:166) ~[vp.class:?]
20.12 07:40:34 [Server] INFO    at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:90) ~[vq.class:?]
20.12 07:40:34 [Server] INFO    at net.minecraft.entity.EntityCreature.<init>(SourceFile:21) ~[vx.class:?]
20.12 07:40:34 [Server] INFO    at com.pixelmonmod.pixelmon.entities.npcs.EntityNPC.<init>(EntityNPC.java:97) ~[EntityNPC.class:?]

Tell the generations team to not alter entity health off thread - game objects are not thread safe and such modifications to entity state must not happen on packet handler threads.