TriggerReactor

TriggerReactor

24.6k Downloads

interact event throw NPE on sponge

wysohn opened this issue ยท 0 comments

commented

[12:56:54] [Server thread/ERROR] [Sponge]: Could not pass InteractBlockEvent$Primary$MainHand$Impl to Plugin{id=triggerreactor, name=TriggerReactor, version=2.1.8, description=Simple script parser with infinite possibility, source=.\mods\plugins\TriggerReactor.jar}
java.lang.NullPointerException: null
at io.github.wysohn.triggerreactor.sponge.manager.trigger.LocationBasedTriggerManager.onClick(LocationBasedTriggerManager.java:77) ~[LocationBasedTriggerManager.class:?]
at org.spongepowered.common.event.listener.InteractBlockEventListener_LocationBasedTriggerManager_onClick149.handle(Unknown Source) ~[?:?]
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.12.2-2768-7.1.6-RC3596]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:383) [SpongeModEventManager.class:1.12.2-2768-7.1.6-RC3596]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:347) [SpongeModEventManager.class:1.12.2-2768-7.1.6-RC3596]
at org.spongepowered.mod.event.SpongeModEventManager.extendedPost(SpongeModEventManager.java:435) [SpongeModEventManager.class:1.12.2-2768-7.1.6-RC3596]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:404) [SpongeModEventManager.class:1.12.2-2768-7.1.6-RC3596]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:465) [SpongeEventManager.class:1.12.2-2768-7.1.6-RC3596]
at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:242) [SpongeImpl.class:1.12.2-2768-7.1.6-RC3596]
at org.spongepowered.common.event.SpongeCommonEventFactory.callInteractBlockEventPrimary(SpongeCommonEventFactory.java:836) [SpongeCommonEventFactory.class:1.12.2-2768-7.1.6-RC3596]
at org.spongepowered.common.event.SpongeCommonEventFactory.callInteractBlockEventPrimary(SpongeCommonEventFactory.java:809) [SpongeCommonEventFactory.class:1.12.2-2768-7.1.6-RC3596]
at net.minecraft.server.MinecraftServer.handler$onServerTickEnd$zjn000(MinecraftServer.java:3799) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:713) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]