13
0
geforkt von Mirrors/Paper

Fix TNTPrimed head hight calculation

Fixes GH-370
Dieser Commit ist enthalten in:
Zach Brown 2016-07-19 18:48:08 -05:00
Ursprung e9a21993b2
Commit 4b8526fd6d

Datei anzeigen

@ -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) {