From 1d0a791011238eff9672077f500d02947b7c83d1 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Tue, 24 Mar 2020 12:04:03 +1300 Subject: [PATCH] CraftItemMirror -> CraftItemCopy --- .../disguise/utilities/reflection/ReflectionManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/reflection/ReflectionManager.java b/src/main/java/me/libraryaddict/disguise/utilities/reflection/ReflectionManager.java index 835fff85..b782cde1 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/reflection/ReflectionManager.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/reflection/ReflectionManager.java @@ -364,7 +364,7 @@ public class ReflectionManager { public static ItemStack getCraftItem(ItemStack bukkitItem) { try { - return (ItemStack) craftItemClass.getMethod("asCraftMirror", ItemStack.class).invoke(null, bukkitItem); + return (ItemStack) craftItemClass.getMethod("asCraftCopy", ItemStack.class).invoke(null, bukkitItem); } catch (Exception e) { e.printStackTrace();