16 lines
750 B
Diff
16 lines
750 B
Diff
--- a/net/minecraft/world/entity/ai/attributes/GenericAttributes.java
|
|
+++ b/net/minecraft/world/entity/ai/attributes/GenericAttributes.java
|
|
@@ -1,3 +1,4 @@
|
|
+// mc-dev import
|
|
package net.minecraft.world.entity.ai.attributes;
|
|
|
|
import net.minecraft.core.IRegistry;
|
|
@@ -19,6 +20,6 @@
|
|
public static final AttributeBase JUMP_STRENGTH = a("horse.jump_strength", (new AttributeRanged("attribute.name.horse.jump_strength", 0.7D, 0.0D, 2.0D)).a(true));
|
|
|
|
private static AttributeBase a(String s, AttributeBase attributebase) {
|
|
- return (AttributeBase) IRegistry.a(IRegistry.ATTRIBUTE, s, (Object) attributebase);
|
|
+ return (AttributeBase) IRegistry.a(IRegistry.ATTRIBUTE, s, attributebase); // CraftBukkit - decompile error
|
|
}
|
|
}
|