mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-02-17 10:41:26 +01:00
Change the priority of ChestShop's interact event
This commit is contained in:
parent
b9b4d1b29c
commit
f5771c28d8
@ -42,7 +42,7 @@ import static org.bukkit.event.block.Action.RIGHT_CLICK_BLOCK;
|
||||
*/
|
||||
public class PlayerInteract implements Listener {
|
||||
|
||||
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
|
||||
@EventHandler(priority = EventPriority.LOW, ignoreCancelled = true)
|
||||
public static void onInteract(PlayerInteractEvent event) {
|
||||
Block block = event.getClickedBlock();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user