geforkt von Mirrors/Paper
SPIGOT-3998, MC-133373: Improve attributes
Dieser Commit ist enthalten in:
Ursprung
8c9dea83c3
Commit
a71d06a0c8
11
nms-patches/AttributeRanged.patch
Normale Datei
11
nms-patches/AttributeRanged.patch
Normale Datei
@ -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;
|
||||||
|
}
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren