mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-24 05:54:34 +00:00
quick fix : Redundant 'if' statement
This commit is contained in:
1 parent
28b094ea1a
commit
f384a4fe28
29 files changed
+48
-130
No files matched your search
@@ -27,7 +27,7 @@ public class FletchlingLeafMaterial extends FletchingMaterial {
|
||||
if (stack != null) {
|
||||
Block block = BlockUtils.getBlockFromItemStack(stack);
|
||||
if (block != null) {
|
||||
if (block.isLeaves(null, 0, 0, 0)) return true;
|
||||
return block.isLeaves(null, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user