mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 23:07:40 +01:00
Fix log spam about Hanging entities bounding boxes
Nothing really "Broke" them, just a lot of log spam. This will clean that up
This commit is contained in:
parent
0110ef1aa1
commit
4ca2ccc422
@ -19,8 +19,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
maxZ = axisalignedbb.maxZ;
|
||||
+ // Paper start - use saner max's for bounding box
|
||||
+ boolean illegal = false;
|
||||
+ double maxW = this.getWidth() * 2;
|
||||
+ double maxH = this.getHeight();
|
||||
+ double maxW = Math.max(1, this.getWidth() * 2);
|
||||
+ double maxH = Math.max(1, this.getHeight());
|
||||
double len = axisalignedbb.maxX - axisalignedbb.minX;
|
||||
- if (len < 0) maxX = minX;
|
||||
- if (len > 64) maxX = minX + 64.0;
|
||||
|
Loading…
Reference in New Issue
Block a user