mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-17 18:47:40 +01:00
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() {
|
||||
- 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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue