This commit is contained in:
Alexdoru committed 2023-01-26 02:09:12 +01:00
1 parent 6e2aff78e5
commit 0fc2fd496f
6 files changed
+33 -20

No files matched your search

@@ -46,12 +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) {
// if (possibleFaucet instanceof FaucetLogic) {
// flagActiveFaucet = ((FaucetLogic) possibleFaucet).active;
//}
// }
if (ticks == 6) // && !flagActiveFaucet)
this.distributeFluids();