From 256f099706b0522231c4bfb4d7bb1fb121e1c9ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=81=AA=E8=81=AA?= <178666380@qq.com> Date: Tue, 27 Jun 2017 14:26:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=A3=E7=A0=81=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- patches/net/minecraftforge/common/ForgeHooks.java.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/net/minecraftforge/common/ForgeHooks.java.patch b/patches/net/minecraftforge/common/ForgeHooks.java.patch index 317b1b6..24af66c 100644 --- a/patches/net/minecraftforge/common/ForgeHooks.java.patch +++ b/patches/net/minecraftforge/common/ForgeHooks.java.patch @@ -169,8 +169,8 @@ + List blockSnapshots = (List) world.capturedBlockSnapshots + .clone(); + world.capturedBlockSnapshots.clear(); -+ List tDropItemSnapshots=(List)world.capturedItems.clone(); -+ world.capturedItems.clear(); ++ List tDropItemSnapshots=(List)world.capturedEntityItemSnapshots.clone(); ++ world.capturedEntityItemSnapshots.clear(); + + // make sure to set pre-placement item data for event + itemstack.setItemDamage(meta);