From 69c58f0078ac7318b2ffd533bd0f5f7c870b066a Mon Sep 17 00:00:00 2001 From: mfnalex <1122571+mfnalex@users.noreply.github.com> Date: Sun, 30 May 2021 22:39:52 +0200 Subject: [PATCH] added default clause --- .../de/jeff_media/chestsort/handlers/ChestSortOrganizer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/jeff_media/chestsort/handlers/ChestSortOrganizer.java b/src/main/java/de/jeff_media/chestsort/handlers/ChestSortOrganizer.java index 42c246c..b61bc98 100644 --- a/src/main/java/de/jeff_media/chestsort/handlers/ChestSortOrganizer.java +++ b/src/main/java/de/jeff_media/chestsort/handlers/ChestSortOrganizer.java @@ -144,8 +144,9 @@ public class ChestSortOrganizer { return "15_purple"; case "pink": return "16_pink"; + default: + return ""; } - return ""; } static int getNumberOfEnchantments(ItemStack is) {