mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
Fixed item breaking particles not capturing current state of the ItemStack. Closes #5934
This commit is contained in:
1 parent
53ac33a84c
commit
86e9425638
1 file changed
+11
@@ -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_) {
|
||||
Reference in new issue
Block a user