utils: Send message with player inventory if hs couldn't be created
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user