Archiviert
1
0

Fix check without rank

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-12-02 17:46:39 +01:00
Ursprung f975c4c867
Commit 2dd8cf3f8b

Datei anzeigen

@ -49,7 +49,8 @@ public class CheckCommand extends BasicCommand {
public static void setCheckQuestions(SchematicType checkType, Configuration config) {
checkQuestions.put(checkType, config.getStringList("CheckQuestions"));
ranks.put(checkType, config.getStringList("Ranks"));
if(!config.getStringList("Ranks").isEmpty())
ranks.put(checkType, config.getStringList("Ranks"));
}
public static boolean isChecking(ProxiedPlayer player){