From 88f9063d23a0a33f0268eb93c35500583a239bd7 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Thu, 26 Jan 2023 21:36:33 +0100 Subject: [PATCH] Fix: 1.12 forEachOrdered not found --- .../de/steamwar/schematicsystem/commands/SchematicCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java index 79a7ecc..0ed71cc 100644 --- a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java +++ b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java @@ -404,7 +404,7 @@ public class SchematicCommand extends SWCommand { SchematicType.values().parallelStream() .filter(SchematicType::isAssignable) .filter(type -> finalClipboard == null || CheckSchemType.get(type) == null || AutoChecker.sizeCheck(finalClipboard, CheckSchemType.get(type)).fastOk()) - .forEachOrdered(type -> { + .forEach(type -> { TextComponent component = new TextComponent(type.name() + " "); component.setColor(ChatColor.GRAY); component.setBold(true);