Skip to content

Commit

Permalink
Fixed bug with /postoffice claim command
Browse files Browse the repository at this point in the history
  • Loading branch information
shantek committed Sep 23, 2024
1 parent b6528f1 commit 16898ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/shantek/functions/Commands.java
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ else if (args.length == 1 && args[0].equalsIgnoreCase("reload")) {
return true;
}

if (targetBlock.getState() instanceof Sign) {
if (!(targetBlock.getState() instanceof Sign)) {
player.sendMessage(ChatColor.translateAlternateColorCodes('&', postOffice.language.lookAtPostBox));
return true;
}
Expand Down

0 comments on commit 16898ea

Please sign in to comment.