properly handle breaking chest gen

This commit is contained in:
hyperdefined
2026-01-26 16:19:00 -05:00
parent 9e9482067d
commit 6204a3e22b
3 changed files with 63 additions and 3 deletions

View File

@@ -140,7 +140,7 @@ public class InventoryClose implements Listener {
* @param owner The player that found the item.
* @return The item with the lore.
*/
private ItemStack addLootedOrigin(ItemStack itemStack, Player owner) {
public ItemStack addLootedOrigin(ItemStack itemStack, Player owner) {
ItemStack newItem = itemStack.clone();
ItemMeta meta = itemStack.getItemMeta();
if (meta == null) {