Remove strange "Not a number" message when editing a kit delay.

This commit is contained in:
Brianna 2020-01-07 18:56:36 -05:00
parent c2cfdec3c7
commit 89584b91b4
1 changed files with 1 additions and 0 deletions

View File

@ -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) {
}
}