From 48b2733470b378ea971178a5cc0267191fb8b4d5 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sat, 13 Nov 2021 16:13:54 +0100 Subject: [PATCH] Fixing Method renaming Signed-off-by: Chaoscaot --- SpigotCore_Main/src/de/steamwar/inventory/SWListInv.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SpigotCore_Main/src/de/steamwar/inventory/SWListInv.java b/SpigotCore_Main/src/de/steamwar/inventory/SWListInv.java index 6b84527..d0d9c22 100644 --- a/SpigotCore_Main/src/de/steamwar/inventory/SWListInv.java +++ b/SpigotCore_Main/src/de/steamwar/inventory/SWListInv.java @@ -122,9 +122,9 @@ public class SWListInv extends SWInventory { List schems; if(type == null) - schems = SchematicNode.filterSchems(steamwarUserId, node -> true); + schems = SchematicNode.getAllSchematicsAccessibleByUser(steamwarUserId); else - schems = SchematicNode.getSchematicsOfType(steamwarUserId, type.toDB(), 0); + schems = SchematicNode.getAllAccessibleSchematicsOfType(steamwarUserId, type.toDB()); for(SchematicNode s : schems){ Material m;