[Bug] Mod fails to start when using Pixelmon item as key object
reiyooki opened this issue ยท 1 comments
When setting the "material=" option for a key/bunch/master to any Pixelmon item, the mod simply refuses to load, and spits out the below error to console. I'm unsure if this is specific to pixelmon or applies to other mod items as well, however when changing the Material back to its default value the issue goes away.
#works
material="minecraft:tripwire_hook"
#does not work
material="pixelmon:poke_ball"
[15:04:03] [Server thread/WARN] [Sponge]: /* Owning Mod/Plugin: serial-key
[15:04:03] [Server thread/WARN] [Sponge]: /* Exception:
[15:04:03] [Server thread/WARN] [Sponge]: /* java.lang.NullPointerException: null
[15:04:03] [Server thread/WARN] [Sponge]: /* fr.skyost.serialkey.sponge.SerialKey.onGameStarted(SerialKey.java:163)
[15:04:03] [Server thread/WARN] [Sponge]: /* org.spongepowered.common.event.listener.GameStartedServerEventListener_SerialKey_onGameStarted42.handle(Unknown Source)
[15:04:03] [Server thread/WARN] [Sponge]: /* org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)
[15:04:03] [Server thread/WARN] [Sponge]: /* org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:381)
[15:04:03] [Server thread/WARN] [Sponge]: /* org.spongepowered.mod.event.SpongeModEventManager.extendedPost(SpongeModEventManager.java:454)
[15:04:03] [Server thread/WARN] [Sponge]: /* org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:415)
[15:04:03] [Server thread/WARN] [Sponge]: /* org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:253)
[15:04:03] [Server thread/WARN] [Sponge]: /* org.spongepowered.mod.SpongeMod.onStateEvent(SpongeMod.java:340)
[15:04:03] [Server thread/WARN] [Sponge]: /* sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[15:04:03] [Server thread/WARN] [Sponge]: /* sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[15:04:03] [Server thread/WARN] [Sponge]: /* sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[15:04:03] [Server thread/WARN] [Sponge]: /* java.lang.reflect.Method.invoke(Unknown Source)
[15:04:03] [Server thread/WARN] [Sponge]: /* com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
[15:04:03] [Server thread/WARN] [Sponge]: /* com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
[15:04:03] [Server thread/WARN] [Sponge]: /* com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
[15:04:03] [Server thread/WARN] [Sponge]: /* com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
[15:04:03] [Server thread/WARN] [Sponge]: /* com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
[15:04:03] [Server thread/WARN] [Sponge]: /* com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
[15:04:03] [Server thread/WARN] [Sponge]: /* com.google.common.eventbus.EventBus.post(EventBus.java:217)
[15:04:03] [Server thread/WARN] [Sponge]: /* net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
[15:04:03] [Server thread/WARN] [Sponge]: /* net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
[15:04:03] [Server thread/WARN] [Sponge]: /* sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[15:04:03] [Server thread/WARN] [Sponge]: /* sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[15:04:03] [Server thread/WARN] [Sponge]: /* sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[15:04:03] [Server thread/WARN] [Sponge]: /* java.lang.reflect.Method.invoke(Unknown Source)
[15:04:03] [Server thread/WARN] [Sponge]: /* com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
[15:04:03] [Server thread/WARN] [Sponge]: /* com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
[15:04:03] [Server thread/WARN] [Sponge]: /* com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
[15:04:03] [Server thread/WARN] [Sponge]: /* com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
[15:04:03] [Server thread/WARN] [Sponge]: /* com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
[15:04:03] [Server thread/WARN] [Sponge]: /* com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
[15:04:03] [Server thread/WARN] [Sponge]: /* com.google.common.eventbus.EventBus.post(EventBus.java:217)
[15:04:03] [Server thread/WARN] [Sponge]: /* net.minecraftforge.fml.common.LoadController.redirect$forgeImpl$PostEvent$zza000(LoadController.java:568)
[15:04:03] [Server thread/WARN] [Sponge]: /* net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
[15:04:03] [Server thread/WARN] [Sponge]: /* net.minecraftforge.fml.common.Loader.serverStarted(Loader.java:799)
[15:04:03] [Server thread/WARN] [Sponge]: /* net.minecraftforge.fml.common.FMLCommonHandler.handleServerStarted(FMLCommonHandler.java:302)
[15:04:03] [Server thread/WARN] [Sponge]: /* net.minecraft.server.MinecraftServer.run(MinecraftServer.java:488)
[15:04:03] [Server thread/WARN] [Sponge]: /* java.lang.Thread.run(Unknown Source)
That's because any pixelmon material is not an ItemType
. Sadly, I can't do anything about it, really.