Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Fix painted low power laser converter explosion #383

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

antropod
Copy link

Fixes issue described in GTNewHorizons/GT-New-Horizons-Modpack#13899

After you paint low power laser converter, pickup and place back in the world, it was losing AMPERES data.
loadNBTData method was trying to read "AMPERES" from an NBT tag containing only information about color.
This adds a check so if there is no "AMPERES" in the NBT tag, it would not overwrite it with default value.

@Dream-Master Dream-Master requested a review from a team December 26, 2023 20:06
@Caedis
Copy link
Member

Caedis commented Dec 26, 2023

Really should be finding out why it loses the AMPERES tag instead

@Caedis
Copy link
Member

Caedis commented Dec 26, 2023

This is good enough actually

@Dream-Master Dream-Master merged commit ccd6ffc into GTNewHorizons:master Dec 26, 2023
1 check passed
mitchej123 pushed a commit that referenced this pull request Mar 8, 2024
…d back in the world (#383)

Former-commit-id: dd1ca5912c0ca3242a95bb31596bb0d495b22783
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants