diff --git a/src/main/java/com/minelittlepony/unicopia/item/component/Appearance.java b/src/main/java/com/minelittlepony/unicopia/item/component/Appearance.java index a1fc6c61..242b9a3b 100644 --- a/src/main/java/com/minelittlepony/unicopia/item/component/Appearance.java +++ b/src/main/java/com/minelittlepony/unicopia/item/component/Appearance.java @@ -24,7 +24,9 @@ public record Appearance(ItemStack item, boolean replaceFully) { ); public Appearance { - item.remove(UDataComponentTypes.APPEARANCE); + if (UDataComponentTypes.APPEARANCE != null) { + item.remove(UDataComponentTypes.APPEARANCE); + } } public ItemStack unwrap(ItemStack stack) {