diff --git a/paper-server/nms-patches/AttributeRanged.patch b/paper-server/nms-patches/AttributeRanged.patch new file mode 100644 index 0000000000..6c2e9bf23e --- /dev/null +++ b/paper-server/nms-patches/AttributeRanged.patch @@ -0,0 +1,11 @@ +--- a/net/minecraft/server/AttributeRanged.java ++++ b/net/minecraft/server/AttributeRanged.java +@@ -31,6 +31,8 @@ + } + + public double a(double d0) { ++ if (d0 != d0) return getDefault(); // CraftBukkit ++ + d0 = MathHelper.a(d0, this.a, this.b); + return d0; + }