GabrielOlvH / Industrial-Revolution

An Industrial mod made for Fabric.
Apache License 2.0
193 stars 56 forks source link

[BUG] Sneaking while holding an item adds an empty NBT tag to it #558

Open BasiqueEvangelist opened 9 months ago

BasiqueEvangelist commented 9 months ago

Description: Module#isInstalled (which is used by MatterProjectorPreviewRenderer) adds empty NBT tags to any stack in the player's main hand when sneaking, which causes items to not group together.

Steps to Reproduce:

  1. Get two of your favourite item, e.g. Enchanted Golden Apples
  2. Split them across two hotbar slots
  3. Sneak while holding one of them
  4. Try to combine them back into one stack

https://github.com/GabrielOlvH/Industrial-Revolution/assets/72868417/ebe9037d-dcaf-4bc1-9116-90ad947fb903

Technical Information:

Logs: https://mclo.gs/v8F4niD

Details: -