From 4422c7c0ba55eb2a25c142531b5c59a09cf3f4c1 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 17 Jan 2023 18:20:24 +0100 Subject: [PATCH] Hotfix statement --- src/de/steamwar/sql/SchematicNode.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/de/steamwar/sql/SchematicNode.java b/src/de/steamwar/sql/SchematicNode.java index 5a8258f..2709399 100644 --- a/src/de/steamwar/sql/SchematicNode.java +++ b/src/de/steamwar/sql/SchematicNode.java @@ -28,7 +28,6 @@ import java.sql.Timestamp; import java.time.Instant; import java.util.*; import java.util.function.Predicate; -import java.util.stream.Collectors; public class SchematicNode { @@ -141,7 +140,7 @@ public class SchematicNode { } public static List accessibleByUserType(SteamwarUser user, SchematicType type) { - return accessibleByUserType.listSelect(type, user, user, user); + return accessibleByUserType.listSelect(type, user); } public static Map> accessibleByUserTypeMap(SteamwarUser user, SchematicType type) {