mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 12:00:59 +00:00
CraftItemMirror -> CraftItemCopy
This commit is contained in:
parent
7a0f107687
commit
1d0a791011
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ public class ReflectionManager {
|
||||||
|
|
||||||
public static ItemStack getCraftItem(ItemStack bukkitItem) {
|
public static ItemStack getCraftItem(ItemStack bukkitItem) {
|
||||||
try {
|
try {
|
||||||
return (ItemStack) craftItemClass.getMethod("asCraftMirror", ItemStack.class).invoke(null, bukkitItem);
|
return (ItemStack) craftItemClass.getMethod("asCraftCopy", ItemStack.class).invoke(null, bukkitItem);
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
Loading…
Reference in a new issue