Fix compile
This commit is contained in:
parent
2d5d60be6b
commit
81f701477c
4 changed files with 7 additions and 6 deletions
|
@ -68,8 +68,8 @@ public class ContainerIDSU extends RebornContainer {
|
|||
super.detectAndSendChanges();
|
||||
for (int i = 0; i < this.listeners.size(); i++) {
|
||||
IContainerListener IContainerListener = this.listeners.get(i);
|
||||
if (this.euOut != tile.output) {
|
||||
IContainerListener.sendProgressBarUpdate(this, 0, tile.output);
|
||||
if (this.euOut != tile.maxEnergy) {
|
||||
IContainerListener.sendProgressBarUpdate(this, 0, tile.maxEnergy);
|
||||
}
|
||||
if (this.storedEu != (int) tile.getEnergy()) {
|
||||
IContainerListener.sendProgressBarUpdate(this, 1, (int) tile.getEnergy());
|
||||
|
@ -83,7 +83,7 @@ public class ContainerIDSU extends RebornContainer {
|
|||
@Override
|
||||
public void addListener(IContainerListener crafting) {
|
||||
super.addListener(crafting);
|
||||
crafting.sendProgressBarUpdate(this, 0, tile.output);
|
||||
crafting.sendProgressBarUpdate(this, 0, tile.maxEnergy);
|
||||
crafting.sendProgressBarUpdate(this, 1, (int) tile.getEnergy());
|
||||
crafting.sendProgressBarUpdate(this, 2, (int) tile.getEuChange());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue