Fix vanilla duplication bug.

This commit is contained in:
LexManos 2018-04-03 15:29:25 -07:00
parent 34706c7cd7
commit bad83a303e

View file

@ -1,6 +1,6 @@
--- ../src-base/minecraft/net/minecraft/entity/item/EntityItemFrame.java
+++ ../src-work/minecraft/net/minecraft/entity/item/EntityItemFrame.java
@@ -140,7 +140,7 @@
@@ -140,13 +140,14 @@
{
if (!p_110131_1_.func_190926_b())
{
@ -9,3 +9,10 @@
{
MapData mapdata = ((ItemMap)p_110131_1_.func_77973_b()).func_77873_a(p_110131_1_, this.field_70170_p);
mapdata.field_76203_h.remove("frame-" + this.func_145782_y());
}
p_110131_1_.func_82842_a((EntityItemFrame)null);
+ this.func_82334_a(ItemStack.field_190927_a); //Forge: Fix MC-124833 Pistons duplicating Items.
}
}