mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-30 20:39:13 +00:00
clean: include user when shown invalid backpack error
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user