From 4ca2ccc422a7fc90456a0926345eed43075cfdb9 Mon Sep 17 00:00:00 2001 From: Aikar Date: Fri, 22 May 2020 02:04:00 -0400 Subject: [PATCH] Fix log spam about Hanging entities bounding boxes Nothing really "Broke" them, just a lot of log spam. This will clean that up --- .../Use-saner-Entity-bounding-box-limits.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Spigot-Server-Patches/Use-saner-Entity-bounding-box-limits.patch b/Spigot-Server-Patches/Use-saner-Entity-bounding-box-limits.patch index f239f6047..8bf96427f 100644 --- a/Spigot-Server-Patches/Use-saner-Entity-bounding-box-limits.patch +++ b/Spigot-Server-Patches/Use-saner-Entity-bounding-box-limits.patch @@ -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;