mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +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
@@ -37,7 +37,6 @@ public class FancyEntityItem extends EntityItem {
|
||||
}
|
||||
|
||||
public boolean attackEntityFrom(DamageSource par1DamageSource, float par2) {
|
||||
if (par1DamageSource.getDamageType().equals("outOfWorld")) return true;
|
||||
return false;
|
||||
return par1DamageSource.getDamageType().equals("outOfWorld");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user