13
0
Dieser Commit ist enthalten in:
Lixfel 2019-12-28 10:02:17 +01:00
Ursprung b972330684
Commit fc755f3c4b

Datei anzeigen

@ -248,10 +248,10 @@ public class SchematicCommand implements CommandExecutor {
AutoCheckResult result = CheckSchemType.get(type).autoCheck(schematic); AutoCheckResult result = CheckSchemType.get(type).autoCheck(schematic);
Collection<String> errors = result.errors(); Collection<String> errors = result.errors();
for(String warning : errors){ for(String warning : result.warnings()){
player.sendMessage(" §e" + warning); player.sendMessage(" §e" + warning);
} }
for(String error : result.warnings()){ for(String error : errors){
player.sendMessage(" §c" + error); player.sendMessage(" §c" + error);
} }
if(!errors.isEmpty()){ if(!errors.isEmpty()){