mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
Update InteractionFootball.java
This commit is contained in:
parent
376a28dcbd
commit
47afae6a8a
@ -167,7 +167,7 @@ public class InteractionFootball extends InteractionPushable {
|
|||||||
BigDecimal topItemHeight = BigDecimal.valueOf(topItem.getZ() + topItem.getBaseItem().getHeight());
|
BigDecimal topItemHeight = BigDecimal.valueOf(topItem.getZ() + topItem.getBaseItem().getHeight());
|
||||||
BigDecimal ballHeight = BigDecimal.valueOf(this.getZ());
|
BigDecimal ballHeight = BigDecimal.valueOf(this.getZ());
|
||||||
|
|
||||||
if (topItemHeight.subtract(ballHeight).compareTo(new BigDecimal(1.65)) > 0) {
|
if (topItemHeight.subtract(ballHeight).compareTo(BigDecimal.valueOf(1.65)) > 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user