Skip to content

Commit 5c7ee3b

Browse files
committed
forgot about count bypass
1 parent a681c42 commit 5c7ee3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/simplexity/simplehomes/commands/SetHome.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ private void handleSetHome(Player player, String homeName) {
6363
}
6464

6565
private boolean canSetMoreHomes(Player player, List<Home> homesList) {
66+
if (player.hasPermission(CommandUtils.COUNT_BYPASS)) return true;
6667
int maxHomes = CommandUtils.maxHomesPermission(player);
6768
int currentHomes = homesList.size();
6869
return currentHomes < maxHomes;

0 commit comments

Comments
 (0)