From f1d3b4cff2d4ed71c33bc8631fd0fdf9fff91e0e Mon Sep 17 00:00:00 2001 From: Logan Date: Tue, 30 Dec 2025 11:09:31 -0600 Subject: [PATCH] chore: misc changes to dump command --- .../com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java b/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java index 11c1b84b..58967365 100644 --- a/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java +++ b/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java @@ -405,10 +405,11 @@ public class CosmeticCommand implements CommandExecutor { return true; } player.sendMessage("Passengers -> " + player.getPassengers()); - if (user.hasCosmeticInSlot(CosmeticSlot.BACKPACK)) { + if (user.getUserBackpackManager() != null) { player.sendMessage("Backpack Location -> " + user.getUserBackpackManager().getEntityManager().getLocation()); + player.sendMessage("Cosmetic Passengers -> " + user.getUserBackpackManager().getAreaEffectEntityId()); } - player.sendMessage("Cosmetic Passengers -> " + user.getUserBackpackManager().getAreaEffectEntityId()); + player.sendMessage("Cosmetics -> " + user.getCosmetics()); player.sendMessage("EntityId -> " + player.getEntityId()); return true;