mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-14 01:04:24 +00:00
Fix killing blow causing combat tracker to lose data (MC-121048) (#4452)
This commit is contained in:
1 parent
0bf82697bb
commit
f8e375279d
1 file changed
+10
@@ -186,6 +186,16 @@
|
||||
p_70665_2_ = this.func_70655_b(p_70665_1_, p_70665_2_);
|
||||
p_70665_2_ = this.func_70672_c(p_70665_1_, p_70665_2_);
|
||||
float f = p_70665_2_;
|
||||
@@ -1389,8 +1406,8 @@
|
||||
if (p_70665_2_ != 0.0F)
|
||||
{
|
||||
float f1 = this.func_110143_aJ();
|
||||
- this.func_70606_j(f1 - p_70665_2_);
|
||||
this.func_110142_aN().func_94547_a(p_70665_1_, f1, p_70665_2_);
|
||||
+ this.func_70606_j(f1 - p_70665_2_); // Forge: moved to fix MC-121048
|
||||
this.func_110149_m(this.func_110139_bj() - p_70665_2_);
|
||||
}
|
||||
}
|
||||
@@ -1447,6 +1464,11 @@
|
||||
|
||||
public void func_184609_a(EnumHand p_184609_1_)
|
||||
|
||||
Reference in new issue
Block a user