Technici4n / Powah

Discussion on the AE2 Discord server:
https://discord.gg/Zd6t9ka7ne
GNU Lesser General Public License v3.0
29 stars 23 forks source link

[Texture Issue] Energizing Rod gauge is always empty when looked at #196

Open geradeaus007 opened 2 months ago

geradeaus007 commented 2 months ago

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

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.