mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 12:42:26 +00:00
Fix vanilla duplication bug.
This commit is contained in:
1 parent
34706c7cd7
commit
bad83a303e
1 file changed
+8
-1
@@ -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.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user