Move EntityHorse capability patches to AbstractHorse (#3417)
Fixes #3409
This commit is contained in:
parent
f12a4b5c1e
commit
b4881195b3
1 changed files with 8 additions and 8 deletions
|
@ -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.
|
Loading…
Reference in a new issue