GregTechCEu / GregTech

GregTech CE 1.12 fork continuing progression and development
GNU Lesser General Public License v3.0
227 stars 174 forks source link

Lapotron crystal NBT Charge tag remains on discharged crystals, preventing use in engraver #1438

Closed fishsicles closed 1 year ago

fishsicles commented 1 year ago

GregTech CEu Version

v2.5.0

Modpack Used

Nomifactory 1.5

Addons Installed

No response

Environment

Singleplayer and Open to LAN

New Worlds

Yes

Cross-Mod Interaction

No

Expected Behavior

Empty lapotron crystals should stack with each other regardless of whether they have been charged previously, and should be recognised as the same item for recipes that need them.

Actual Behavior

Placing a lapotron crystal that has previously been charged into a laser engraver (or Gregicality Multiblocks large engraver) will not trigger a recipe, even if it has been drained of all power. Discharged lapotron crystals also do not stack with freshly crafted crystals.

/nbtedit shows that even after being discharged, the charge NBT tag remains present:

Steps to Reproduce

Craft a lapotron crystal, charge it and then discharge it using machines or battery buffers, and attempt to place it in a laser engraver with a blue lens. The engraver will not start the lapotron crystal chip recipe.

Alternately, craft two lapotron crystals. Charge and discharge one, and they will no longer stack.

Additional Information

No response

limpbiskuit commented 1 year ago

In fact this is the case for all batteries