= 创作分享 =
你问我答
1.20.1植物魔法海洋法杖在服务器中无法使用 ...
微風糖糖

1.20.1植物魔法海洋法杖在服务器中无法使用

微風糖糖 于 2024-8-23 04:03 ( 3月前 ) [复制链接] [只看楼主] [打印]
318 0
50RF
游戏版本1.20.1,forge版本47.3.6,植物魔法版本1.20.1-446,服务器是Mohist,核心版本1.20.1-836

海洋法杖无法使用,具体表现为使用海洋法杖右键任意方块会显示一个水方块然后光速消失,也无法给花药台添水,同时服务器后台刷出以下信息

[03:39:35 ERROR]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundUseItemPacket@19dcd8f2, suppressing error
java.lang.NullPointerException: Cannot invoke "net.minecraft.world.item.ItemStack.m_41720_()" because "itemstack" is null
        at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.getPlayerBucketEvent(CraftEventFactory.java:483) ~[forge-1.20.1-47.3.6-universal.jar%23345!/:?]
        at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.callPlayerBucketEmptyEvent(CraftEventFactory.java:473) ~[forge-1.20.1-47.3.6-universal.jar%23345!/:?]
        at net.minecraft.world.item.BucketItem.emptyContents(BucketItem.java:170) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.world.item.BucketItem.emptyContents(BucketItem.java:151) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.world.item.BucketItem.m_142073_(BucketItem.java:140) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at vazkii.botania.common.item.rod.SeasRodItem.m_7203_(SeasRodItem.java:64) ~[%5B植物魔法%5D%20Botania-1.20.1-446-FORGE.jar%23302!/:1.20.1-446-FORGE]
        at net.minecraft.world.item.ItemStack.m_41682_(ItemStack.java:328) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.server.level.ServerPlayerGameMode.m_6261_(ServerPlayerGameMode.java:379) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.m_5760_(ServerGamePacketListenerImpl.java:1652) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.network.protocol.game.ServerboundUseItemPacket.m_5797_(ServerboundUseItemPacket.java:29) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.network.protocol.game.ServerboundUseItemPacket.m_5797_(ServerboundUseItemPacket.java:7) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.network.protocol.PacketUtils.m_263899_(PacketUtils.java:25) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:151) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:1025) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:175) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:124) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:1008) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:1002) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:134) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:988) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:913) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:285) ~[server-1.20.1-20230612.114412-srg.jar%23340!/:?]
        at java.lang.Thread.run(Thread.java:833) [?:?]


卸载了服务器中所有插件后尝试依旧如此,有没有懂哥救救

发表于 2024-8-23 04:03:25 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

回复 | 举报

该帖共收到 0 条回复!
百科目前不允许匿名发帖哦~ 请先 [ 登陆 ][ 注册 ] 吧~

本版积分规则

发新帖
  • 回复
  • 点评
  • 评分

[ MC百科(mcmod.cn) 除另有声明,所有开放公共编辑的内容均使用 BY-NC-SA 3.0 协议 ]

Minecraft百科CC协议
快速回复 返回顶部 返回列表