Fix TNTPrimed head hight calculation
Fixes GH-370
This commit is contained in:
parent
e9a21993b2
commit
4b8526fd6d
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
|
|
||||||
public float getHeadHeight() {
|
public float getHeadHeight() {
|
||||||
- return 0.0F;
|
- return 0.0F;
|
||||||
+ return world.paperConfig.oldCannonBehaviors ? this.length / 2 : 0.0F; // Paper - Old TNT cannon behaviors
|
+ return world.paperConfig.oldCannonBehaviors ? this.length / 16F : 0.0F; // Paper - Old TNT cannon behaviors
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setFuseTicks(int i) {
|
public void setFuseTicks(int i) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue