Models turning into vanilla mobs on reboot
Summary
Describe the bug encountered in detail.
Steps to reproduce
Provide a full set of steps used to reproduce the bug, including links to SEPARATE Pastebin pastes for each relevant configuration file.
Current behavior Mobs spawning just fine, but when the server reboots, the mobs turn into normal vanilla mobs and the 3d model is removed. Describe what happens currently, while the bug is affecting your server.
Intended correct behavior the models should stay on the mob and continue to work Describe what you think should happen instead of the bug. Models should continue to be applied to the mob and not removed. Server log file
Provide a link to a Pastebin paste with a copy of your server's latest.log file from startup to "Done!" AND includes a player connecting. https://pastebin.com/udFegw8T Debug log snippet [00:38:56 ERROR]: [MythicMobs] [EVENTS] Exception thrown whilst handling event: org.bukkit.event.entity.CreatureSpawnEvent [00:38:56 WARN]: java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.SpawnerCreature$d.a()" because "spawnState" is null [00:38:56 WARN]: at MythicMobs-5.2.1 (6).jar//io.lumine.mythic.core.volatilecode.v1_18_R2.VolatileSpawningHandlerImpl.getSpawnState(VolatileSpawningHandlerImpl.java:89) [00:38:56 WARN]: at MythicMobs-5.2.1 (6).jar//io.lumine.mythic.core.spawning.random.RandomSpawnerManager.getSpawnState(RandomSpawnerManager.java:263) [00:38:56 WARN]: at MythicMobs-5.2.1 (6).jar//io.lumine.mythic.core.spawning.random.RandomSpawnerManager.handleSpawnEvent(RandomSpawnerManager.java:225) [00:38:56 WARN]: at MythicMobs-5.2.1 (6).jar//io.lumine.mythic.bukkit.listeners.MobListeners.lambda$load$4(MobListeners.java:187) [00:38:56 WARN]: at MythicMobs-5.2.1 (6).jar//io.lumine.mythic.bukkit.utils.Delegates$ConsumerToBiConsumerSecond.accept(Delegates.java:144) [00:38:56 WARN]: at MythicMobs-5.2.1 (6).jar//io.lumine.mythic.bukkit.utils.events.functional.single.EventListener.execute(EventListener.java:131) [00:38:56 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) [00:38:56 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) [00:38:56 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:671) [00:38:56 WARN]: at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:748) [00:38:56 WARN]: at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.doEntityAddEventCalling(CraftEventFactory.java:653) [00:38:56 WARN]: at net.minecraft.server.level.WorldServer.addEntity(WorldServer.java:1506) [00:38:56 WARN]: at net.minecraft.server.level.WorldServer.addFreshEntity(WorldServer.java:1415) [00:38:56 WARN]: at Citizens (1).jar//net.citizensnpcs.nms.v1_18_R2.util.NMSImpl.addEntityToWorld(NMSImpl.java:353) [00:38:56 WARN]: at Citizens (1).jar//net.citizensnpcs.util.NMS.addEntityToWorld(NMS.java:62) [00:38:56 WARN]: at Citizens (1).jar//net.citizensnpcs.npc.AbstractEntityController.spawn(AbstractEntityController.java:55) [00:38:56 WARN]: at Citizens (1).jar//net.citizensnpcs.npc.CitizensNPC.spawn(CitizensNPC.java:311) [00:38:56 WARN]: at Citizens (1).jar//net.citizensnpcs.npc.CitizensNPC.load(CitizensNPC.java:180) [00:38:56 WARN]: at Citizens (1).jar//net.citizensnpcs.api.npc.SimpleNPCDataStore.loadInto(SimpleNPCDataStore.java:59) [00:38:56 WARN]: at Citizens (1).jar//net.citizensnpcs.Citizens$CitizensLoadTask.run(Citizens.java:604) [00:38:56 WARN]: at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:101) [00:38:56 WARN]: at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) [00:38:56 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1189) [00:38:56 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:321) [00:38:56 WARN]: at java.base/java.lang.Thread.run(Thread.java:833) [00:38:56 ERROR]: [Citizens] The trait traitpriest failed to load for NPC ID: 54. [00:38:56 ERROR]: [MythicMobs] [EVENTS] Exception thrown whilst handling event: org.bukkit.event.entity.CreatureSpawnEvent [00:38:56 WARN]: java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.SpawnerCreature$d.a()" because "spawnState" is null [00:38:56 WARN]: at MythicMobs-5.2.1 (6).jar//io.lumine.mythic.core.volatilecode.v1_18_R2.VolatileSpawningHandlerImpl.getSpawnState(VolatileSpawningHandlerImpl.java:89) [00:38:56 WARN]: at MythicMobs-5.2.1 (6).jar//io.lumine.mythic.core.spawning.random.RandomSpawnerManager.getSpawnState(RandomSpawnerManager.java:263) [00:38:56 WARN]: at MythicMobs-5.2.1 (6).jar//io.lumine.mythic.core.spawning.random.RandomSpawnerManager.handleSpawnEvent(RandomSpawnerManager.java:225) [00:38:56 WARN]: at MythicMobs-5.2.1 (6).jar//io.lumine.mythic.bukkit.listeners.MobListeners.lambda$load$4(MobListeners.java:187) [00:38:56 WARN]: at MythicMobs-5.2.1 (6).jar//io.lumine.mythic.bukkit.utils.Delegates$ConsumerToBiConsumerSecond.accept(Delegates.java:144) [00:38:56 WARN]: at MythicMobs-5.2.1 (6).jar//io.lumine.mythic.bukkit.utils.events.functional.single.EventListener.execute(EventListener.java:131) [00:38:56 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) [00:38:56 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) [00:38:56 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:671) [00:38:56 WARN]: at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:748) [00:38:56 WARN]: at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.doEntityAddEventCalling(CraftEventFactory.java:653) [00:38:56 WARN]: at net.minecraft.server.level.WorldServer.addEntity(WorldServer.java:1506) [00:38:56 WARN]: at net.minecraft.server.level.WorldServer.addFreshEntity(WorldServer.java:1415) [00:38:56 WARN]: at Citizens (1).jar//net.citizensnpcs.nms.v1_18_R2.util.NMSImpl.addEntityToWorld(NMSImpl.java:353) [00:38:56 WARN]: at Citizens (1).jar//net.citizensnpcs.util.NMS.addEntityToWorld(NMS.java:62) [00:38:56 WARN]: at Citizens (1).jar//net.citizensnpcs.npc.AbstractEntityController.spawn(AbstractEntityController.java:55) [00:38:56 WARN]: at Citizens (1).jar//net.citizensnpcs.npc.CitizensNPC.spawn(CitizensNPC.java:311) [00:38:56 WARN]: at Citizens (1).jar//net.citizensnpcs.npc.CitizensNPC.load(CitizensNPC.java:180) [00:38:56 WARN]: at Citizens (1).jar//net.citizensnpcs.api.npc.SimpleNPCDataStore.loadInto(SimpleNPCDataStore.java:59) [00:38:56 WARN]: at Citizens (1).jar//net.citizensnpcs.Citizens$CitizensLoadTask.run(Citizens.java:604) [00:38:56 WARN]: at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:101) [00:38:56 WARN]: at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) [00:38:56 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1189) [00:38:56 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:321) [00:38:56 WARN]: at java.base/java.lang.Thread.run(Thread.java:833) [00:38:56 INFO]: [Citizens] Loaded 27 NPCs. [00:38:56 INFO]: [WildTools] Loading providers started... [00:38:56 INFO]: [WildTools] - Using v1_18_R2 adapter. at java.lang.Class.getDeclaredMethod(Class.java:2673) ~[?:?]at com.bgsoftware.wildtools.handlers.ProvidersHandler.createInstance(ProvidersHandler.java:422) ~[WildTools-2.12.0-b59.jar:?]at com.bgsoftware.wildtools.handlers.ProvidersHandler.loadPricesProvider(ProvidersHandler.java:253) ~[WildTools-2.12.0-b59.jar:?]at com.bgsoftware.wildtools.handlers.ProvidersHandler.loadProviders(ProvidersHandler.java:220) ~[WildTools-2.12.0-b59.jar:?]at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.18.2.jar:git-Purpur-1632]at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[purpur-1.18.2.jar:git-Purpur-1632]at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1189) ~[purpur-1.18.2.jar:git-Purpur-1632]at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:321) ~[purpur-1.18.2.jar:git-Purpur-1632]at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.ClassNotFoundException: net.brcdev.shopgui.shop.ShopItemat org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:153) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:105) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]... 11 more Provide a link to a Pastebin paste with an excerpt of your latest.log file that includes debug output where you trigger the bugged behavior.
Proposed fixes Models not to be removed when the server is rebooted, or remove the mob Describe what you think the issue or any potential fixes may be.