Fix TNTPrimed head hight calculation
Fixes GH-370
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user