Updated readme

Removed unnecessary ; from RanksManager
This commit is contained in:
Tastybento 2018-02-11 20:39:08 -08:00
parent 5ac66edb6a
commit effefae377
2 changed files with 8 additions and 3 deletions

View File

@ -1,8 +1,13 @@
BSkyBlock
==========
[![Build Status](https://travis-ci.org/tastybento/bskyblock.svg?branch=master)](https://travis-ci.org/tastybento/bskyblock)
[![Lines Of Code](https://sonarcloud.io/api/project_badges/measure?project=us.tastybento%3Abskyblock&metric=ncloc)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=us.tastybento%3Abskyblock&metric=sqale_rating)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=us.tastybento%3Abskyblock&metric=reliability_rating)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=us.tastybento%3Abskyblock&metric=security_rating)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=us.tastybento%3Abskyblock&metric=bugs)
A Skyblock Bukkit plugin for Minecraft derived from the well-known ASkyBlock!
A skyblock Bukkit plugin for Minecraft derived from the well-known ASkyBlock!
This is a survival game where the player starts with an island in the sky.
BSkyBlock (Better SkyBlock) represents a turning point on ASkyBlock's history : Tastybento and Poslovitch thought and designed together this complete rewrite in order to provide a whole new way to play Skyblock.

View File

@ -119,7 +119,7 @@ public class RanksManager {
return getRanks().values().stream().mapToInt(x -> {
if (x > currentRank) {
return x;
};
}
return OWNER_RANK;
}).min().orElse(currentRank);
}
@ -133,7 +133,7 @@ public class RanksManager {
return getRanks().values().stream().mapToInt(x -> {
if (x < currentRank) {
return x;
};
}
return BANNED_RANK;
}).max().orElse(currentRank);
}