mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-01 00:10:40 +01:00
Updated readme
Removed unnecessary ; from RanksManager
This commit is contained in:
parent
5ac66edb6a
commit
effefae377
@ -1,8 +1,13 @@
|
|||||||
BSkyBlock
|
BSkyBlock
|
||||||
==========
|
==========
|
||||||
[![Build Status](https://travis-ci.org/tastybento/bskyblock.svg?branch=master)](https://travis-ci.org/tastybento/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.
|
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.
|
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.
|
||||||
|
@ -119,7 +119,7 @@ public class RanksManager {
|
|||||||
return getRanks().values().stream().mapToInt(x -> {
|
return getRanks().values().stream().mapToInt(x -> {
|
||||||
if (x > currentRank) {
|
if (x > currentRank) {
|
||||||
return x;
|
return x;
|
||||||
};
|
}
|
||||||
return OWNER_RANK;
|
return OWNER_RANK;
|
||||||
}).min().orElse(currentRank);
|
}).min().orElse(currentRank);
|
||||||
}
|
}
|
||||||
@ -133,7 +133,7 @@ public class RanksManager {
|
|||||||
return getRanks().values().stream().mapToInt(x -> {
|
return getRanks().values().stream().mapToInt(x -> {
|
||||||
if (x < currentRank) {
|
if (x < currentRank) {
|
||||||
return x;
|
return x;
|
||||||
};
|
}
|
||||||
return BANNED_RANK;
|
return BANNED_RANK;
|
||||||
}).max().orElse(currentRank);
|
}).max().orElse(currentRank);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user