9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-30 12:29:16 +00:00

clean: better invalid backpack debug messages

This commit is contained in:
LoJoSho
2023-05-16 14:44:48 -05:00
parent e2ee55bab4
commit 853668ff1b

View File

@@ -34,7 +34,7 @@ public class CosmeticBackpackType extends Cosmetic {
if (user.isInWardrobe() || !user.isBackpackSpawned()) return;
if (!user.getUserBackpackManager().getArmorStand().isValid()) {
MessagesUtil.sendDebugMessages("Invalid Backpack detected for " + user.getUniqueId() + "! Respawning backpack, report this on the discord if this happens often!", Level.WARNING);
MessagesUtil.sendDebugMessages("Invalid Backpack Entity[owner=" + user.getUniqueId() + ",player_location=" + loc + "]!", Level.WARNING);
user.respawnBackpack();
return;
}