diff options
Diffstat (limited to 'nms-patches/World.patch')
-rw-r--r-- | nms-patches/World.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/World.patch b/nms-patches/World.patch index 5993990b..20c488c1 100644 --- a/nms-patches/World.patch +++ b/nms-patches/World.patch @@ -346,7 +346,7 @@ int i1 = MathHelper.floor(axisalignedbb.c) - 1; int j1 = MathHelper.f(axisalignedbb.f) + 1; + // CraftBukkit start - filter out large ranges -+ com.google.common.base.Preconditions.checkArgument(j - i <= 32 && l - k <= 32 && j1 - i1 <= 32, "Filtered out large getCubes call %s,%s %s,%s %s,%s", i, j, k, l, i1, j1); ++ com.google.common.base.Preconditions.checkArgument((j - i) * (l - k) * (j1 - i1) <= 32 * 32 * 32, "Filtered out large getCubes call %s,%s %s,%s %s,%s", i, j, k, l, i1, j1); + // CraftBukkit end WorldBorder worldborder = this.getWorldBorder(); boolean flag1 = entity != null && entity.br(); |