diff --git a/src/main/java/me/blackvein/quests/util/ItemUtil.java b/src/main/java/me/blackvein/quests/util/ItemUtil.java index d0dc5c710..f2c629f1b 100644 --- a/src/main/java/me/blackvein/quests/util/ItemUtil.java +++ b/src/main/java/me/blackvein/quests/util/ItemUtil.java @@ -164,7 +164,9 @@ public class ItemUtil implements ColorUtil { public static String getDisplayString(ItemStack is) { String text; - + if (is == null) { + return null; + } if (is.hasItemMeta() && is.getItemMeta().hasDisplayName()) { text = "" + DARKAQUA + ITALIC + is.getItemMeta().getDisplayName() + RESET + AQUA + " x " + is.getAmount(); } else {