mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Move EntityHorse capability patches to AbstractHorse (#3417)
Fixes #3409
This commit is contained in:
1 parent
f12a4b5c1e
commit
b4881195b3
1 file changed
+8
-8
+8
-8
@@ -1,17 +1,17 @@
|
||||
--- ../src-base/minecraft/net/minecraft/entity/passive/EntityHorse.java
|
||||
+++ ../src-work/minecraft/net/minecraft/entity/passive/EntityHorse.java
|
||||
@@ -85,6 +85,7 @@
|
||||
--- ../src-base/minecraft/net/minecraft/entity/passive/AbstractHorse.java
|
||||
+++ ../src-work/minecraft/net/minecraft/entity/passive/AbstractHorse.java
|
||||
@@ -981,6 +981,7 @@
|
||||
}
|
||||
|
||||
this.func_110232_cE();
|
||||
+ this.itemHandler = new net.minecraftforge.items.wrapper.InvWrapper(this.field_110296_bG);
|
||||
}
|
||||
|
||||
public void func_110235_q(int p_110235_1_)
|
||||
@@ -401,4 +402,22 @@
|
||||
this.field_190885_a = p_i47337_1_;
|
||||
}
|
||||
}
|
||||
public boolean func_70878_b(EntityAnimal p_70878_1_)
|
||||
@@ -1219,4 +1220,22 @@
|
||||
|
||||
return p_180482_2_;
|
||||
}
|
||||
+
|
||||
+ // FORGE
|
||||
+ private net.minecraftforge.items.IItemHandler itemHandler = null; // Initialized by initHorseChest above.
|
||||
Reference in new issue
Block a user