From 9ae6725c5d89dc0e3f23e27536e1c34c989ebbc6 Mon Sep 17 00:00:00 2001 From: Phoenix616 Date: Sun, 3 May 2020 02:34:57 +0100 Subject: [PATCH] Listen on low so that other plugins could hook into before This is necessary if you want to do something like automatic completion of the sign for group/bank accounts. --- .../ChestShop/Listeners/PreShopCreation/NameChecker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/Acrobot/ChestShop/Listeners/PreShopCreation/NameChecker.java b/src/main/java/com/Acrobot/ChestShop/Listeners/PreShopCreation/NameChecker.java index fa9465e..5839185 100644 --- a/src/main/java/com/Acrobot/ChestShop/Listeners/PreShopCreation/NameChecker.java +++ b/src/main/java/com/Acrobot/ChestShop/Listeners/PreShopCreation/NameChecker.java @@ -19,7 +19,7 @@ import static com.Acrobot.ChestShop.Events.PreShopCreationEvent.CreationOutcome. */ public class NameChecker implements Listener { - @EventHandler(priority = EventPriority.LOWEST) + @EventHandler(priority = EventPriority.LOW) public static void onPreShopCreation(PreShopCreationEvent event) { handleEvent(event); }