mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-25 08:51:33 +01:00
Merge https://gitlab.com/Songoda/fabledskyblock into development
This commit is contained in:
commit
33c8bf8ac9
@ -3,7 +3,7 @@ image: gradle:alpine
|
||||
variables:
|
||||
name: "FabledSkyBlock"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "2.0.4"
|
||||
version: "2.0.5"
|
||||
|
||||
before_script:
|
||||
- export GRADLE_USER_HOME=`pwd`/.gradle
|
||||
|
@ -512,9 +512,10 @@ public class Block implements Listener {
|
||||
return;
|
||||
|
||||
GeneratorManager generatorManager = skyblock.getGeneratorManager();
|
||||
if(generatorManager == null) return;
|
||||
|
||||
List<Generator> generators = Lists.newArrayList(generatorManager.getGenerators());
|
||||
if (generatorManager == null || generators.size() == 0)
|
||||
return;
|
||||
if(generators == null || generators.isEmpty()) return;
|
||||
Collections.reverse(generators); // Use the highest generator available
|
||||
|
||||
// Filter valid players on the island.
|
||||
|
Loading…
Reference in New Issue
Block a user