mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 06:52:58 +00:00
quick fix : Redundant 'if' statement
This commit is contained in:
1 parent
ce3ee201a3
commit
d0c3b57e22
29 files changed
+48
-130
No files matched your search
@@ -166,8 +166,7 @@ public class FaucetLogic extends TileEntity implements IFacingLogic, IActiveLogi
|
||||
@Override
|
||||
public void setActive(boolean flag) {
|
||||
if (!active) {
|
||||
active = true;
|
||||
if (!activateFaucet()) active = false;
|
||||
active = activateFaucet();
|
||||
} else {
|
||||
active = false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user