mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +00:00
quick fix : Simplifiable conditional expression
This commit is contained in:
1 parent
cdc7dcf5d0
commit
0657a754e2
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