CraftItemMirror -> CraftItemCopy

This commit is contained in:
libraryaddict 2020-03-24 12:04:03 +13:00
parent 7a0f107687
commit 1d0a791011
No known key found for this signature in database
GPG Key ID: 052E4FBCD257AEA4

View File

@ -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();