This PR adjusts the code to ensure compatibility with Paper 1.21.0, following the fixes applied in PR #63. In Paper 1.21.0, ItemStack delegation has changed, and passing an extended instance like SlimefunItemStack to the ItemStack constructor causes exceptions when handling inventories.
This PR removes unnecessary new ItemStack(Supreme*) instances and passes SlimefunItemStack directly to the recipes, preventing issues when running on Paper 1.21.0 servers.
This PR adjusts the code to ensure compatibility with Paper 1.21.0, following the fixes applied in PR #63. In Paper 1.21.0, ItemStack delegation has changed, and passing an extended instance like SlimefunItemStack to the ItemStack constructor causes exceptions when handling inventories.
This PR removes unnecessary new ItemStack(Supreme*) instances and passes SlimefunItemStack directly to the recipes, preventing issues when running on Paper 1.21.0 servers.