@@ -1,11 +0,0 @@
|
||||
--- a/net/minecraft/world/entity/ai/attributes/AttributeRanged.java
|
||||
+++ b/net/minecraft/world/entity/ai/attributes/AttributeRanged.java
|
||||
@@ -30,6 +30,8 @@
|
||||
|
||||
@Override
|
||||
public double sanitizeValue(double d0) {
|
||||
+ if (d0 != d0) return getDefaultValue(); // CraftBukkit
|
||||
+
|
||||
d0 = MathHelper.clamp(d0, this.minValue, this.maxValue);
|
||||
return d0;
|
||||
}
|
||||
Reference in New Issue
Block a user