mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 20:22:36 +00:00
quick fix : Simplifiable conditional expression
This commit is contained in:
1 parent
22e4567f01
commit
d8bb76367a
9 files changed
+20
-34
No files matched your search
@@ -902,7 +902,7 @@ public class CartEntity extends Entity implements IInventory, IEntityAdditionalS
|
||||
*/
|
||||
@Override
|
||||
public boolean isUseableByPlayer(EntityPlayer par1EntityPlayer) {
|
||||
return this.isDead ? false : par1EntityPlayer.getDistanceSqToEntity(this) <= 64.0D;
|
||||
return !this.isDead && par1EntityPlayer.getDistanceSqToEntity(this) <= 64.0D;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user