Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
wrong permission
Browse files Browse the repository at this point in the history
  • Loading branch information
MidnightTale committed Apr 23, 2023
1 parent 83ee2e6 commit 9e33a04
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/xyz/hynse/forgemend/ForgeMend.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ public void onPlayerInteract(PlayerInteractEvent event) {
return;
}

// Check whether player has bettermending.use permission
if (!player.hasPermission("bettermending.use")) {
if (!player.hasPermission("forgemend.use")) {
player.sendMessage("You do not have permission to use the repair feature!");
return;
}
Expand Down

0 comments on commit 9e33a04

Please sign in to comment.