diff --git a/src/main/java/com/minecolonies/core/items/ItemColonyFlagBanner.java b/src/main/java/com/minecolonies/core/items/ItemColonyFlagBanner.java index 659e1a1e736..4f5aa15ba6c 100644 --- a/src/main/java/com/minecolonies/core/items/ItemColonyFlagBanner.java +++ b/src/main/java/com/minecolonies/core/items/ItemColonyFlagBanner.java @@ -75,7 +75,8 @@ public InteractionResult useOn(UseOnContext context) } @Override - public void appendHoverText(ItemStack stack, @Nullable Level worldIn, List tooltip, TooltipFlag flagIn) { + public void appendHoverText(ItemStack stack, @Nullable Level worldIn, List tooltip, TooltipFlag flagIn) + { CompoundTag tag = BlockItem.getBlockEntityData(stack); if (tag != null && tag.contains(TAG_BANNER_PATTERNS)) {