mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 20:22:36 +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
@@ -1027,10 +1027,7 @@ public class CartEntity extends Entity implements IInventory, IEntityAdditionalS
|
||||
* @return True if this cart can be ridden.
|
||||
*/
|
||||
public boolean canBeRidden() {
|
||||
if (pullcartType == 0 && getClass() == CartEntity.class) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return pullcartType == 0 && getClass() == CartEntity.class;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user