Skip to content

Commit

Permalink
[Release] try fix state in form
Browse files Browse the repository at this point in the history
  • Loading branch information
Josscoder committed Mar 20, 2023
1 parent cd844ff commit 643f4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/josscoder/jkit/data/Kit.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public boolean hasCooldown(Player player) {
}

public boolean isAvailable(Player player) {
return !hasCooldown(player) || player.isOp() || player.hasPermission(permission);
return !hasCooldown(player) && player.hasPermission(permission);
}

public String getTimeLeftString(Player player) {
Expand Down

0 comments on commit 643f4d3

Please sign in to comment.