diff --git a/src/main/java/com/Acrobot/ChestShop/Listeners/PreShopCreation/QuantityChecker.java b/src/main/java/com/Acrobot/ChestShop/Listeners/PreShopCreation/QuantityChecker.java index 83590e7..60c1612 100644 --- a/src/main/java/com/Acrobot/ChestShop/Listeners/PreShopCreation/QuantityChecker.java +++ b/src/main/java/com/Acrobot/ChestShop/Listeners/PreShopCreation/QuantityChecker.java @@ -1,6 +1,5 @@ package com.Acrobot.ChestShop.Listeners.PreShopCreation; -import com.Acrobot.Breeze.Utils.QuantityUtil; import com.Acrobot.ChestShop.Configuration.Properties; import com.Acrobot.ChestShop.Events.PreShopCreationEvent; import com.Acrobot.ChestShop.Signs.ChestShopSign; @@ -20,7 +19,7 @@ public class QuantityChecker implements Listener { int amount = -1; try { amount = ChestShopSign.getQuantity(event.getSignLines()); - } catch (NumberFormatException notANumber) {} + } catch (NumberFormatException ignored) {} // not a quantity on the line if (amount < 1 || amount > Properties.MAX_SHOP_AMOUNT) { event.setOutcome(INVALID_QUANTITY);