@@ -0,0 +1,15 @@
|
||||
--- 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
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
--- a/net/minecraft/world/entity/animal/EntitySquid.java
|
||||
+++ b/net/minecraft/world/entity/animal/EntitySquid.java
|
||||
@@ -1,3 +1,4 @@
|
||||
+// mc-dev import
|
||||
package net.minecraft.world.entity.animal;
|
||||
|
||||
import java.util.Random;
|
||||
Reference in New Issue
Block a user