Fix compile

This commit is contained in:
Prospector 2017-06-09 08:47:44 -07:00
parent 2d5d60be6b
commit 81f701477c
4 changed files with 7 additions and 6 deletions

View file

@ -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());
}

View file

@ -2,8 +2,9 @@ package techreborn.compat;
import reborncore.common.registration.RebornRegistry;
import reborncore.common.registration.impl.ConfigRegistry;
import techreborn.lib.ModInfo;
@RebornRegistry
@RebornRegistry(modID = ModInfo.MOD_ID)
public class CompatConfigs {
@ConfigRegistry(config = "compat", category = "buildcraft", key = "ExpensiveQuarryRecipe", comment = "Buildcraft's quarry will require an advanced circuit and diamond drill if enabled")
public static boolean expensiveQuarry = true;

View file

@ -58,7 +58,7 @@ public class PacketIdsu extends SimplePacket {
@Override
public void execute() {
if (!idsu.getWorld().isRemote) {
idsu.handleGuiInputFromClient(buttonID);
// idsu.handleGuiInputFromClient(buttonID);
}
}
}

View file

@ -53,7 +53,7 @@ import java.util.List;
public class TileQuantumTank extends TileLegacyMachineBase
implements IInventoryProvider, IWrenchable, IListInfoProvider, IContainerProvider {
@ConfigRegistry(config = "machines", category = "quantum_tank", key = "QuantumTankMaxStorage", comment = "Maximum amount of millibuckets a Quantum Tankcan store")
@ConfigRegistry(config = "machines", category = "quantum_tank", key = "QuantumTankMaxStorage", comment = "Maximum amount of millibuckets a Quantum Tank can store")
public static int maxStorage = Integer.MAX_VALUE;
// @ConfigRegistry(config = "machines", category = "quantum_tank", key = "QuantumTankWrenchDropRate", comment = "Quantum Tank Wrench Drop Rate")
public static float wrenchDropRate = 1.0F;