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

clean: include user when shown invalid backpack error

This commit is contained in:
LoJoSho
2023-05-11 19:27:12 -05:00
parent 49023ff701
commit d92e3e4616

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! Respawning backpack, report this on the discord if this happens often!", Level.WARNING);
MessagesUtil.sendDebugMessages("Invalid Backpack detected for " + user.getUniqueId() + "! Respawning backpack, report this on the discord if this happens often!", Level.WARNING);
user.respawnBackpack();
return;
}