Merge pull request #1125 from alucas/addmissingjumpevent
Add missing onLivingJump calls
This commit is contained in:
commit
7b6b88b002
2 changed files with 20 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
||||||
|
--- ../src-base/minecraft/net/minecraft/entity/monster/EntityMagmaCube.java
|
||||||
|
+++ ../src-work/minecraft/net/minecraft/entity/monster/EntityMagmaCube.java
|
||||||
|
@@ -99,6 +99,7 @@
|
||||||
|
{
|
||||||
|
this.field_70181_x = (double)(0.42F + (float)this.func_70809_q() * 0.1F);
|
||||||
|
this.field_70160_al = true;
|
||||||
|
+ net.minecraftforge.common.ForgeHooks.onLivingJump(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void func_70069_a(float p_70069_1_) {}
|
|
@ -0,0 +1,10 @@
|
||||||
|
--- ../src-base/minecraft/net/minecraft/entity/passive/EntityHorse.java
|
||||||
|
+++ ../src-work/minecraft/net/minecraft/entity/passive/EntityHorse.java
|
||||||
|
@@ -1227,6 +1227,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
this.field_110277_bt = 0.0F;
|
||||||
|
+ net.minecraftforge.common.ForgeHooks.onLivingJump(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
this.field_70138_W = 1.0F;
|
Loading…
Reference in a new issue