utils: Send message with player inventory if hs couldn't be created

This commit is contained in:
Sebastian Beckmann
2025-11-25 17:38:46 +01:00
parent 7c4198bfff
commit c7e2244e15

View File

@@ -99,6 +99,8 @@ public class Headstone {
event.setShouldDropExperience(false); event.setShouldDropExperience(false);
this.savePlayerData(skullLocation, keepExperience, keepInventory); this.savePlayerData(skullLocation, keepExperience, keepInventory);
} else {
Message.sendBroadcast("&4 Inventory of " + owner.getName() + ": " + InventorySerializer.serialize(this.inventory));
} }
} }