diff --git a/src/main/java/de/epiceric/shopchest/language/LanguageUtils.java b/src/main/java/de/epiceric/shopchest/language/LanguageUtils.java index f95341a..bb0ce74 100644 --- a/src/main/java/de/epiceric/shopchest/language/LanguageUtils.java +++ b/src/main/java/de/epiceric/shopchest/language/LanguageUtils.java @@ -936,7 +936,7 @@ public class LanguageUtils { ItemMeta meta = stack.getItemMeta(); if (meta.getDisplayName() != null) { return meta.getDisplayName(); - } else if (meta instanceof BookMeta) { + } else if (meta instanceof BookMeta && ((BookMeta) meta).hasTitle()) { return ((BookMeta) meta).getTitle(); } else if (meta instanceof SkullMeta) { if (((SkullMeta) meta).hasOwner()) {