EpicEricEE / ShopChest

ShopChest - Spigot/Bukkit Plugin
MIT License
45 stars 57 forks source link

help wanted - Running in some kind of error in ShopChest 1.12.2 #332

Open cazh0 opened 4 years ago

cazh0 commented 4 years ago

So, I've added the plugin to my server (running Magma) and when creating a shop I'm running into some kind of problem. I would appreciate if someone helped me, below there's the log.

[Minecraft]: Could not pass event PlayerInteractEvent to ShopChest v1.12.2

5101 | org.bukkit.event.EventException: null 5102 | at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:68) ~[EventExecutor.class:3d116a0] 5103 | at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[RegisteredListener.class:3d116a0] 5104 | at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:507) [SimplePluginManager.class:3d116a0] 5105 | at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:263) [CraftEventFactory.class:3d116a0] 5106 | at net.minecraft.server.management.PlayerInteractionManager.func_187251_a(PlayerInteractionManager.java:479) [or.class:?] 5107 | at net.minecraft.network.NetHandlerPlayServer.func_184337_a(NetHandlerPlayServer.java:1139) [pa.class:?] 5108 | at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:55) [ma.class:?] 5109 | at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:11) [ma.class:?] 5110 | at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?] 5111 | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222] 5112 | at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222] 5113 | at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?] 5114 | at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:925) [MinecraftServer.class:?] 5115 | at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:456) [nz.class:?] 5116 | at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:862) [MinecraftServer.class:?] 5117 | at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:734) [MinecraftServer.class:?] 5118 | at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222] 5119 | Caused by: java.lang.NullPointerException 5120 | at de.epiceric.shopchest.config.HologramFormat.evalRequirement(HologramFormat.java:132) ~[?:?] 5121 | at de.epiceric.shopchest.config.HologramFormat.getFormat(HologramFormat.java:54) ~[?:?] 5122 | at de.epiceric.shopchest.shop.Shop.getHologramText(Shop.java:219) ~[?:?] 5123 | at de.epiceric.shopchest.shop.Shop.createHologram(Shop.java:160) ~[?:?] 5124 | at de.epiceric.shopchest.shop.Shop.create(Shop.java:84) ~[?:?] 5125 | at de.epiceric.shopchest.listeners.ShopInteractListener.create(ShopInteractListener.java:675) ~[?:?] 5126 | at de.epiceric.shopchest.listeners.ShopInteractListener.onPlayerInteractCreate(ShopInteractListener.java:305) ~[?:?] 5127 | at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor20.execute(Unknown Source) ~[?:?] 5128 | at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:66) ~[EventExecutor.class:3d116a0] 5129 | ... 16 more