mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 01:49:49 -05:00
Fix #353 for my stupid brain :(
Former-commit-id: 87537d7d92a7bec20ba8513abb5a844f839ef7d8
This commit is contained in:
1 parent
5b34ca0dc0
commit
258737afbc
1 file changed
+1
-1
@@ -84,7 +84,7 @@ public class PermissionChecker {
|
||||
|
||||
//register a listener to cancel test event
|
||||
Bukkit.getPluginManager().registerEvents(new Listener() {
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
@EventHandler(priority = EventPriority.HIGHEST)
|
||||
public void onTestEvent(BlockBreakEvent event) {
|
||||
if (event == beMainHand) {
|
||||
// Call for event for protection check end
|
||||
|
||||
Reference in new issue
Block a user