[Texture Issue] Energizing Rod gauge is always empty when looked at
geradeaus007 opened this issue ยท 0 comments
Version: (make sure you are on the latest version before reporting):
- Minecraft: 1.20.1
- Forge: 47.3.7
- Powah: 5.0.7
Issue description:
The gauge texture when looking at an Energizing Rod is empty, regardless of actual energy level.
Steps to reproduce:
Place an Energizing Rod on an empty Energy Cell and one on a Creative/not empty Energy Cell
Look at each Energizing Rod
Witness the same texture
Solution
In EnergizingRodBlock.java the following piece of code has misconfigured width/height and start x/y positions.
Draw.gaugeH(x - 37, y - 79, 72, 16, 0, 9, ((EnergizingRodTile) te).getEnergy());
Line 171
Correct would be:
Draw.gaugeH(x - 37, y - 79, 0, 9, 72, 7, ((EnergizingRodTile) te).getEnergy());
Other
I don't know my way around github. So I don't know how to properly reference code in a repository or make a pull request for this.