From 89584b91b43bf908524a135f8f7f89fc96d1cdc4 Mon Sep 17 00:00:00 2001 From: Brianna Date: Tue, 7 Jan 2020 18:56:36 -0500 Subject: [PATCH] Remove strange "Not a number" message when editing a kit delay. --- .../java/com/songoda/ultimatekits/gui/KitGeneralOptionsGui.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/songoda/ultimatekits/gui/KitGeneralOptionsGui.java b/src/main/java/com/songoda/ultimatekits/gui/KitGeneralOptionsGui.java index 59147d7..1487859 100644 --- a/src/main/java/com/songoda/ultimatekits/gui/KitGeneralOptionsGui.java +++ b/src/main/java/com/songoda/ultimatekits/gui/KitGeneralOptionsGui.java @@ -53,6 +53,7 @@ public class KitGeneralOptionsGui extends Gui { updateItemLore(event.slot, plugin.getLocale().getMessage("interface.kitoptions.delaylore") .processPlaceholder("delay", kit.getDelay()).getMessage().split("\\|")); aevent.player.closeInventory(); + return; } catch (NumberFormatException e) { } }