Fix TNTPrimed head hight calculation

Fixes GH-370
This commit is contained in:
Zach Brown
2016-07-19 18:48:08 -05:00
parent e9a21993b2
commit 4b8526fd6d

View File

@@ -304,7 +304,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
public float getHeadHeight() {
- 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) {