Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmi插件的事件不兼容 #1700

Closed
lsz3399747433 opened this issue Mar 2, 2025 · 0 comments
Closed

cmi插件的事件不兼容 #1700

lsz3399747433 opened this issue Mar 2, 2025 · 0 comments

Comments

@lsz3399747433
Copy link

当我使用现代工业化(Modern-Industrialization-2.2.34)模组的指南时.
后台出现报错

[05:13:29 ERROR] [Minecraft]: Could not pass event PlayerInteractEvent to CMI v9.7.9.6
org.bukkit.event.EventException: null
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:601) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:588) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactoryMixin.java:580) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayerGameMode.handler$zlm000$arclight$rightClickBlock(ServerPlayerGameModeMixin_NeoForge.java:730) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameModeMixin_NeoForge.java:345) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerPlayNetHandlerMixin_NeoForge.java:1123) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(CPlayerTryUseItemOnBlockPacketMixin.java:42) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(CPlayerTryUseItemOnBlockPacketMixin.java:10) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.network.protocol.PacketUtils.mdf5adab$lambda$ensureRunningOnSameThread$0$0(PacketThreadUtilMixin.java:538) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoopMixin.java:148) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServerMixin_NeoForge.java:872) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServerMixin_NeoForge.java:170) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoopMixin.java:122) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServerMixin_NeoForge.java:855) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTask(MinecraftServerMixin_NeoForge.java:849) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoopMixin.java:132) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.managedBlock(MinecraftServerMixin_NeoForge.java:821) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServerMixin_NeoForge.java:826) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServerMixin_NeoForge.java:712) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServerMixin_NeoForge.java:267) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.function.Function.apply(Object)" because the return value of "io.izzel.arclight.common.bridge.bukkit.MaterialBridge.bridge$itemMetaFactory()" is null
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemFactory.handler$cco000$arclight$getItemMeta(CraftItemFactoryMixin.java:523) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemFactory.getItemMeta(CraftItemFactoryMixin.java) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemFactory.getItemMeta(CraftItemFactoryMixin.java:79) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemStack.getItemMeta(CraftItemStackMixin.java:315) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemStack.getItemMeta(CraftItemStackMixin.java:310) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at net.Zrips.CMILib.PersistentData.CMIItemPersistentDataContainer.(CMIItemPersistentDataContainer.java:13) ~[?:?]
at net.Zrips.CMILib.PersistentData.CMIPersistentDataContainer.get(CMIPersistentDataContainer.java:99) ~[?:?]
at net.Zrips.CMILib.NBT.CMINBT.hasNBT(CMINBT.java:1332) ~[?:?]
at net.Zrips.CMILib.NBT.CMINBT.getList(CMINBT.java:650) ~[?:?]
at net.Zrips.CMILib.NBT.CMINBT.getList(CMINBT.java:638) ~[?:?]
at com.Zrips.CMI.Modules.AttachedCommands.CustomNBTListener.containsConsume(CustomNBTListener.java:425) ~[?:?]
at com.Zrips.CMI.Modules.AttachedCommands.CustomNBTListener.processInteract(CustomNBTListener.java:152) ~[?:?]
at com.Zrips.CMI.Modules.AttachedCommands.CustomNBTListener.playerInteractCommand(CustomNBTListener.java:62) ~[?:?]
... 24 more
[05:13:29 ERROR] [Minecraft]: Could not pass event PlayerInteractEvent to CMI v9.7.9.6
org.bukkit.event.EventException: null
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:601) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:588) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactoryMixin.java:580) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactoryMixin.java:542) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactoryMixin.java:538) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.handler$zjg000$arclight$animateEvents(ServerPlayNetHandlerMixin_NeoForge.java:3110) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.handleAnimate(ServerPlayNetHandlerMixin_NeoForge.java:1440) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundSwingPacket.handle(ServerboundSwingPacket.java:33) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundSwingPacket.handle(ServerboundSwingPacket.java:9) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.network.protocol.PacketUtils.mdf5adab$lambda$ensureRunningOnSameThread$0$0(PacketThreadUtilMixin.java:538) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoopMixin.java:148) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServerMixin_NeoForge.java:872) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServerMixin_NeoForge.java:170) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoopMixin.java:122) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServerMixin_NeoForge.java:855) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTask(MinecraftServerMixin_NeoForge.java:849) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoopMixin.java:132) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.managedBlock(MinecraftServerMixin_NeoForge.java:821) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServerMixin_NeoForge.java:826) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServerMixin_NeoForge.java:712) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServerMixin_NeoForge.java:267) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.function.Function.apply(Object)" because the return value of "io.izzel.arclight.common.bridge.bukkit.MaterialBridge.bridge$itemMetaFactory()" is null
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemFactory.handler$cco000$arclight$getItemMeta(CraftItemFactoryMixin.java:523) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemFactory.getItemMeta(CraftItemFactoryMixin.java) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemFactory.getItemMeta(CraftItemFactoryMixin.java:79) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemStack.getItemMeta(CraftItemStackMixin.java:315) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemStack.getItemMeta(CraftItemStackMixin.java:310) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at net.Zrips.CMILib.PersistentData.CMIItemPersistentDataContainer.(CMIItemPersistentDataContainer.java:13) ~[?:?]
at net.Zrips.CMILib.PersistentData.CMIPersistentDataContainer.get(CMIPersistentDataContainer.java:99) ~[?:?]
at net.Zrips.CMILib.NBT.CMINBT.hasNBT(CMINBT.java:1332) ~[?:?]
at net.Zrips.CMILib.NBT.CMINBT.getList(CMINBT.java:650) ~[?:?]
at net.Zrips.CMILib.NBT.CMINBT.getList(CMINBT.java:638) ~[?:?]
at com.Zrips.CMI.Modules.AttachedCommands.CustomNBTListener.containsConsume(CustomNBTListener.java:425) ~[?:?]
at com.Zrips.CMI.Modules.AttachedCommands.CustomNBTListener.processInteract(CustomNBTListener.java:152) ~[?:?]
at com.Zrips.CMI.Modules.AttachedCommands.CustomNBTListener.playerInteractCommand(CustomNBTListener.java:62) ~[?:?]
... 25 more
[05:13:31 ERROR] [Minecraft]: Could not pass event PlayerInteractEvent to CMI v9.7.9.6
org.bukkit.event.EventException: null
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:601) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:588) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactoryMixin.java:580) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayerGameMode.handler$zlm000$arclight$rightClickBlock(ServerPlayerGameModeMixin_NeoForge.java:730) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameModeMixin_NeoForge.java:345) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerPlayNetHandlerMixin_NeoForge.java:1123) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(CPlayerTryUseItemOnBlockPacketMixin.java:42) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(CPlayerTryUseItemOnBlockPacketMixin.java:10) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.network.protocol.PacketUtils.mdf5adab$lambda$ensureRunningOnSameThread$0$0(PacketThreadUtilMixin.java:538) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoopMixin.java:148) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServerMixin_NeoForge.java:872) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServerMixin_NeoForge.java:170) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoopMixin.java:122) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServerMixin_NeoForge.java:855) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTask(MinecraftServerMixin_NeoForge.java:849) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoopMixin.java:132) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.managedBlock(MinecraftServerMixin_NeoForge.java:821) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServerMixin_NeoForge.java:826) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServerMixin_NeoForge.java:712) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServerMixin_NeoForge.java:267) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.function.Function.apply(Object)" because the return value of "io.izzel.arclight.common.bridge.bukkit.MaterialBridge.bridge$itemMetaFactory()" is null
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemFactory.handler$cco000$arclight$getItemMeta(CraftItemFactoryMixin.java:523) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemFactory.getItemMeta(CraftItemFactoryMixin.java) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemFactory.getItemMeta(CraftItemFactoryMixin.java:79) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemStack.getItemMeta(CraftItemStackMixin.java:315) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemStack.getItemMeta(CraftItemStackMixin.java:310) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at net.Zrips.CMILib.PersistentData.CMIItemPersistentDataContainer.(CMIItemPersistentDataContainer.java:13) ~[?:?]
at net.Zrips.CMILib.PersistentData.CMIPersistentDataContainer.get(CMIPersistentDataContainer.java:99) ~[?:?]
at net.Zrips.CMILib.NBT.CMINBT.hasNBT(CMINBT.java:1332) ~[?:?]
at net.Zrips.CMILib.NBT.CMINBT.getList(CMINBT.java:650) ~[?:?]
at net.Zrips.CMILib.NBT.CMINBT.getList(CMINBT.java:638) ~[?:?]
at com.Zrips.CMI.Modules.AttachedCommands.CustomNBTListener.containsConsume(CustomNBTListener.java:425) ~[?:?]
at com.Zrips.CMI.Modules.AttachedCommands.CustomNBTListener.processInteract(CustomNBTListener.java:152) ~[?:?]
at com.Zrips.CMI.Modules.AttachedCommands.CustomNBTListener.playerInteractCommand(CustomNBTListener.java:62) ~[?:?]
... 24 more
[05:13:31 ERROR] [Minecraft]: Could not pass event PlayerInteractEvent to CMI v9.7.9.6
org.bukkit.event.EventException: null
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:601) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:588) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactoryMixin.java:580) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactoryMixin.java:542) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactoryMixin.java:538) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.handler$zjg000$arclight$animateEvents(ServerPlayNetHandlerMixin_NeoForge.java:3110) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.handleAnimate(ServerPlayNetHandlerMixin_NeoForge.java:1440) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundSwingPacket.handle(ServerboundSwingPacket.java:33) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.network.protocol.game.ServerboundSwingPacket.handle(ServerboundSwingPacket.java:9) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.network.protocol.PacketUtils.mdf5adab$lambda$ensureRunningOnSameThread$0$0(PacketThreadUtilMixin.java:538) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoopMixin.java:148) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServerMixin_NeoForge.java:872) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServerMixin_NeoForge.java:170) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoopMixin.java:122) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServerMixin_NeoForge.java:855) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTask(MinecraftServerMixin_NeoForge.java:849) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoopMixin.java:132) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.managedBlock(MinecraftServerMixin_NeoForge.java:821) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServerMixin_NeoForge.java:826) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServerMixin_NeoForge.java:712) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServerMixin_NeoForge.java:267) ~[server-1.21.1-20240808.144430-srg.jar%23194!/:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.function.Function.apply(Object)" because the return value of "io.izzel.arclight.common.bridge.bukkit.MaterialBridge.bridge$itemMetaFactory()" is null
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemFactory.handler$cco000$arclight$getItemMeta(CraftItemFactoryMixin.java:523) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemFactory.getItemMeta(CraftItemFactoryMixin.java) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemFactory.getItemMeta(CraftItemFactoryMixin.java:79) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemStack.getItemMeta(CraftItemStackMixin.java:315) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at TRANSFORMER/[email protected]+7bfbcf5/org.bukkit.craftbukkit.v1_21_R1.inventory.CraftItemStack.getItemMeta(CraftItemStackMixin.java:310) ~[arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5.jar%23196!/:arclight-1.21.1-1.0.1-SNAPSHOT-7bfbcf5]
at net.Zrips.CMILib.PersistentData.CMIItemPersistentDataContainer.(CMIItemPersistentDataContainer.java:13) ~[?:?]
at net.Zrips.CMILib.PersistentData.CMIPersistentDataContainer.get(CMIPersistentDataContainer.java:99) ~[?:?]
at net.Zrips.CMILib.NBT.CMINBT.hasNBT(CMINBT.java:1332) ~[?:?]
at net.Zrips.CMILib.NBT.CMINBT.getList(CMINBT.java:650) ~[?:?]
at net.Zrips.CMILib.NBT.CMINBT.getList(CMINBT.java:638) ~[?:?]
at com.Zrips.CMI.Modules.AttachedCommands.CustomNBTListener.containsConsume(CustomNBTListener.java:425) ~[?:?]
at com.Zrips.CMI.Modules.AttachedCommands.CustomNBTListener.processInteract(CustomNBTListener.java:152) ~[?:?]
at com.Zrips.CMI.Modules.AttachedCommands.CustomNBTListener.playerInteractCommand(CustomNBTListener.java:62) ~[?:?]
... 25 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant