CraftItemMirror -> CraftItemCopy
This commit is contained in:
parent
7a0f107687
commit
1d0a791011
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user