[X] I'm using the very latest version of ItemsAdder and its dependencies.
[X] I already searched on this Github page to check if the same issue was already reported.
[X] I already searched on the plugin wiki to know if a solution is already known.
[X] I already asked on the #💬ia-community-help channel on Discord to know if anyone already has a solution for the issue.
Discord tag (optional)
Nissim#1414
What happened?
When I try to middle click + shift on Item to get it I just get the modeled item but with the real item name, when I try to put him on the group I get error in console
the error: https://pastebin.com/zvqtT81J
Steps to reproduce the issue
Place any item on the floor,
press shift + middle click on the item,
you get the item without his name
try to put him on the floor
you get the error in console
Server version
Current: git-Purpur-1597 (MC: 1.18.2)
ItemsAdder Version
3.1.2
ProtocolLib Version
4.8.0
LoneLibs Version
1.0.18
LightAPI Version (optional)
bukkit-5.2.0
LibsDisguises Version (optional)
No response
FULL server log
[Uploading latest(21).log…]()
Error (optional)
[18:10:22 ERROR]: Could not pass event PlayerInteractEvent to ItemsAdder v3.1.2
java.lang.NullPointerException: Cannot invoke "String.isEmpty()" because "value" is null
at net.minecraft.nbt.StringTag.valueOf(StringTag.java:71) ~[?:?]
at net.minecraft.nbt.CompoundTag.putString(CompoundTag.java:226) ~[?:?]
at dev.lone.itemsadder.NMS.nbt.nms.impl.Compound_v1_18_R2.a(SourceFile:68) ~[ItemsAdder_3.1.2.jar:?]
at dev.lone.itemsadder.NMS.nbt.nms.impl.Compound_v1_18_R2.a(SourceFile:14) ~[ItemsAdder_3.1.2.jar:?]
at dev.lone.itemsadder.NMS.nbt.nms.impl.CraftItemStack_v1_18_R2.a(SourceFile:130) ~[ItemsAdder_3.1.2.jar:?]
at dev.lone.itemsadder.NMS.nbt.nms.impl.CraftItemStack_v1_18_R2.a(SourceFile:18) ~[ItemsAdder_3.1.2.jar:?]
at dev.lone.itemsadder.NMS.nbt.NCompound.a(SourceFile:77) ~[ItemsAdder_3.1.2.jar:?]
at dev.lone.itemsadder.main.dH.a(SourceFile:267) ~[ItemsAdder_3.1.2.jar:?]
at dev.lone.itemsadder.main.dH.a(SourceFile:214) ~[ItemsAdder_3.1.2.jar:?]
at dev.lone.itemsadder.main.dH.a(SourceFile:126) ~[ItemsAdder_3.1.2.jar:?]
at dev.lone.itemsadder.main.cD.a(SourceFile:158) ~[ItemsAdder_3.1.2.jar:?]
at dev.lone.itemsadder.main.fb.a(SourceFile:135) ~[ItemsAdder_3.1.2.jar:?]
at dev.lone.itemsadder.main.fb.r(SourceFile:226) ~[ItemsAdder_3.1.2.jar:?]
at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:git-Purpur-1597]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:631) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:544) ~[purpur-1.18.2.jar:git-Purpur-1597]
at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:554) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:1924) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:33) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.a(ServerboundUseItemOnPacket.java:9) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.18.2.jar:git-Purpur-1597]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1426) ~[purpur-1.18.2.jar:git-Purpur-1597]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:188) ~[purpur-1.18.2.jar:git-Purpur-1597]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1403) ~[purpur-1.18.2.jar:git-Purpur-1597]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1396) ~[purpur-1.18.2.jar:git-Purpur-1597]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1374) ~[purpur-1.18.2.jar:git-Purpur-1597]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1256) ~[purpur-1.18.2.jar:git-Purpur-1597]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:320) ~[purpur-1.18.2.jar:git-Purpur-1597]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Terms
Discord tag (optional)
Nissim#1414
What happened?
When I try to middle click + shift on Item to get it I just get the modeled item but with the real item name, when I try to put him on the group I get error in console the error: https://pastebin.com/zvqtT81J
Steps to reproduce the issue
Place any item on the floor, press shift + middle click on the item, you get the item without his name try to put him on the floor you get the error in console
Server version
Current: git-Purpur-1597 (MC: 1.18.2)
ItemsAdder Version
3.1.2
ProtocolLib Version
4.8.0
LoneLibs Version
1.0.18
LightAPI Version (optional)
bukkit-5.2.0
LibsDisguises Version (optional)
No response
FULL server log
[Uploading latest(21).log…]()
Error (optional)
ItemsAdder config.yml
Problematic items yml configuration file (optional)
No response
Other files, you can drag and drop them here to upload. (optional)
No response
Screenshots/Videos (you can drag and drop files or paste links)