Proxy ItemStack to CraftItemStack
This commit is contained in:
@@ -669,6 +669,13 @@ public final class CraftMagicNumbers implements UnsafeValues {
|
||||
}
|
||||
// Paper end - lifecycle event API
|
||||
|
||||
// Paper start - proxy ItemStack
|
||||
@Override
|
||||
public org.bukkit.inventory.ItemStack createEmptyStack() {
|
||||
return CraftItemStack.asCraftMirror(null);
|
||||
}
|
||||
// Paper end - proxy ItemStack
|
||||
|
||||
/**
|
||||
* This helper class represents the different NBT Tags.
|
||||
* <p>
|
||||
|
||||
Reference in New Issue
Block a user