Skip to content

Commit

Permalink
switch to > instead of != for level min
Browse files Browse the repository at this point in the history
Co-authored-by: Peaches_MLG <[email protected]>
  • Loading branch information
sh0inx and PeachesMLG authored May 19, 2024
1 parent 32f3aa0 commit a595dae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private void setBankBalance(Player player, String bankItem, double amount) {

private boolean canPurchase(Player player, Biomes.BiomeItem biomeItem) {

if(biomeItem.minLevel != 1) {
if(biomeItem.minLevel > 1) {
User user = IridiumSkyblock.getInstance().getUserManager().getUser(player);
Optional<Island> island = IridiumSkyblock.getInstance().getIslandManager().getTeamViaID(user.getTeamID());

Expand Down

0 comments on commit a595dae

Please sign in to comment.