Fixed item breaking particles not capturing current state of the ItemStack. Closes #5934

This commit is contained in:
LexManos 2019-07-16 16:02:52 -07:00
parent 53ac33a84c
commit 86e9425638
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/net/minecraft/particles/ItemParticleData.java
+++ b/net/minecraft/particles/ItemParticleData.java
@@ -28,7 +28,7 @@
public ItemParticleData(ParticleType<ItemParticleData> p_i47952_1_, ItemStack p_i47952_2_) {
this.field_197558_b = p_i47952_1_;
- this.field_197559_c = p_i47952_2_;
+ this.field_197559_c = p_i47952_2_.func_77946_l(); //Forge: Fix stack updating after the fact causing particle changes.
}
public void func_197553_a(PacketBuffer p_197553_1_) {