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.
This commit is contained in:
parent
4673a3f00c
commit
9ae6725c5d
|
@ -19,7 +19,7 @@ import static com.Acrobot.ChestShop.Events.PreShopCreationEvent.CreationOutcome.
|
||||||
*/
|
*/
|
||||||
public class NameChecker implements Listener {
|
public class NameChecker implements Listener {
|
||||||
|
|
||||||
@EventHandler(priority = EventPriority.LOWEST)
|
@EventHandler(priority = EventPriority.LOW)
|
||||||
public static void onPreShopCreation(PreShopCreationEvent event) {
|
public static void onPreShopCreation(PreShopCreationEvent event) {
|
||||||
handleEvent(event);
|
handleEvent(event);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue