mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-24 02:56:02 +01:00
Fix priorities
This commit is contained in:
parent
c385d116fc
commit
de433c829b
@ -12,7 +12,7 @@ import static com.Acrobot.ChestShop.Events.PreTransactionEvent.TransactionOutcom
|
|||||||
* @author Acrobot
|
* @author Acrobot
|
||||||
*/
|
*/
|
||||||
public class ShopValidator implements Listener {
|
public class ShopValidator implements Listener {
|
||||||
@EventHandler(priority = EventPriority.LOW)
|
@EventHandler(priority = EventPriority.LOWEST)
|
||||||
public static void onCheck(PreTransactionEvent event) {
|
public static void onCheck(PreTransactionEvent event) {
|
||||||
if (event.isCancelled()) {
|
if (event.isCancelled()) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user