Lukas' Weapon Leveling

Lukas' Weapon Leveling

340k Downloads

Item stacking problem caused by NBT tag

Elaski6573 opened this issue · 4 comments

commented

Describe the bug
Problem with NBT tag
Item which used in my hand got nbt tag named tag :{}

Mod/Minecraft Version
Minecraft Version: Forge 1.18.2-40.1.80
Mod Version:1.3.4, 1.3.3 (tested with two verserons)

To Reproduce
Steps to reproduce the behavior:

  1. Mine block with item (example = dirt, acacia log)
  2. Item which used to mine got a NBT tag named tag: {}
  3. This item NEVER get stacked with other items

I noticed this problem by using command /data get entity @p Inventory

Expected behavior

  1. Fix nbt tag to not apply to common items
  2. Or change that only durable items can get nbt tag

Screenshots
화면 캡처 2022-10-06 084631

commented

I had the same problem and came looking for a solution, and it looks like someone saw it before I did.
Hope to get a hot fix soon. It doesn't crash, but it detracts from the experience.
My OCD makes it impossible for me to ignore this little bug.

commented

Oh, I see why this might happen. I will look into this, thank you!

commented

I also had this problem today, which caused my items to not stack and caused problems using Storage Drawers

commented

The Fix already works in my testing. I will finish up some things and the next update will contain it