Merge pull request #1125 from alucas/addmissingjumpevent

Add missing onLivingJump calls
This commit is contained in:
LexManos 2014-06-12 16:20:03 -07:00
commit 7b6b88b002
2 changed files with 20 additions and 0 deletions

View file

@ -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_) {}

View file

@ -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;