From fc755f3c4bc547e333fcc6de82122179b2c49252 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 28 Dec 2019 10:02:17 +0100 Subject: [PATCH] Fixing colors --- .../steamwar/schematicsystem/commands/SchematicCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java b/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java index 1b9fcfc..f83733a 100644 --- a/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java +++ b/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java @@ -248,10 +248,10 @@ public class SchematicCommand implements CommandExecutor { AutoCheckResult result = CheckSchemType.get(type).autoCheck(schematic); Collection errors = result.errors(); - for(String warning : errors){ + for(String warning : result.warnings()){ player.sendMessage(" §e" + warning); } - for(String error : result.warnings()){ + for(String error : errors){ player.sendMessage(" §c" + error); } if(!errors.isEmpty()){