Fixes due to PowerAcceptorBE changes.

This commit is contained in:
drcrazy 2020-10-20 17:21:27 +03:00
parent 09d9d6e7ea
commit df974ef5da
54 changed files with 79 additions and 100 deletions

View file

@ -57,6 +57,6 @@ public class GuiChargeBench extends GuiBase<BuiltScreenHandler> {
super.drawForeground(matrixStack, mouseX, mouseY);
final Layer layer = Layer.FOREGROUND;
builder.drawMultiEnergyBar(matrixStack, this, 81, 28, (int) blockEntity.getEnergy(), (int) blockEntity.getMaxPower(), mouseX, mouseY, 0, layer);
builder.drawMultiEnergyBar(matrixStack, this, 81, 28, (int) blockEntity.getEnergy(), (int) blockEntity.getMaxStoredPower(), mouseX, mouseY, 0, layer);
}
}