mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
quick fix : Unused assignment
This commit is contained in:
1 parent
6bf15fdfe3
commit
2b6b01314d
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();
|
||||
|
||||
Reference in new issue
Block a user