quick fix : Unused assignment

This commit is contained in:
Alexdoru committed 2023-01-26 01:57:53 +01:00
1 parent 5e5b85ab8b
commit a73816e83e
34 files changed
+54 -63

No files matched your search

@@ -46,10 +46,12 @@ public class CastingChannelLogic extends TileEntity implements IFluidHandler {
public void updateEntity() {
ticks++;
boolean flagActiveFaucet = false;
//boolean flagActiveFaucet = false;
TileEntity possibleFaucet = worldObj.getTileEntity(xCoord, yCoord + 1, zCoord);
if (possibleFaucet instanceof FaucetLogic) flagActiveFaucet = ((FaucetLogic) possibleFaucet).active;
//if (possibleFaucet instanceof FaucetLogic) {
// flagActiveFaucet = ((FaucetLogic) possibleFaucet).active;
//}
if (ticks == 6) // && !flagActiveFaucet)
this.distributeFluids();