Skip to content
This repository was archived by the owner on Dec 5, 2021. It is now read-only.

Commit b6726c5

Browse files
Fix #353 and 3.1.4.13
Former-commit-id: 8f3a512
1 parent 3f3aac1 commit b6726c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>org.maxgamer</groupId>
66
<artifactId>QuickShop</artifactId>
7-
<version>3.1.4.12</version>
7+
<version>3.1.4.13</version>
88

99
<licenses>
1010
<license>

src/main/java/org/maxgamer/quickshop/Util/PermissionChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public boolean canBuild(@NotNull Player player, @NotNull Block block) {
8484

8585
//register a listener to cancel test event
8686
Bukkit.getPluginManager().registerEvents(new Listener() {
87-
@EventHandler(priority = EventPriority.LOWEST)
87+
@EventHandler(priority = EventPriority.HIGHEST)
8888
public void onTestEvent(BlockBreakEvent event) {
8989
if (event == beMainHand) {
9090
// Call for event for protection check end

0 commit comments

Comments
 (0)