Powah icon indicating copy to clipboard operation
Powah copied to clipboard

Mined cables don't stack with cables already in inventory when an active battery is charging inventory

Open Random832 opened this issue 3 years ago • 1 comments

Version: (make sure you are on the latest version before reporting):

  • Minecraft: 1.16.5
  • Forge: 36.1.32
  • Powah: 2.3.16
  • Lollipop: 3.2.9

Issue description:

When you have cables in your inventory and an active battery [or other mod's equivalent item] charging inventory items, the cables get NBT added to them {lollipoptile_stack_nbt: {energy_stored_main_energy: 0L}}. This causes newly mined cables on the ground [which do not have this NBT] not to stack with them. After the new ones have been in your inventory they can be re-stacked, but mining several cables one at a time will cause each one to be placed in a separate inventory slot.

Steps to reproduce:

  • Have a charged battery activated in inventory, or some other mods' equivalent item.
  • Place some cables in world, and have some cables in your inventory
  • Break the cables

Is this a crash?

no

Random832 avatar Jul 16 '21 03:07 Random832