Add missing onLivingJump calls

This commit is contained in:
Antoine 2014-06-04 23:21:56 +02:00
parent a08357a845
commit 27d9edac67
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;