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;