From 3e6c7b4fdaf450b18185637ef2979619cab2efbf Mon Sep 17 00:00:00 2001 From: FirstMegaGame4 <84094287+FirstMegaGame4@users.noreply.github.com> Date: Thu, 17 Aug 2023 20:04:39 +0200 Subject: [PATCH] Fix InventoryUtils --- .../com/mmodding/mmodding_lib/library/utils/InventoryUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/mmodding/mmodding_lib/library/utils/InventoryUtils.java b/src/main/java/com/mmodding/mmodding_lib/library/utils/InventoryUtils.java index 96dcecc..da996a2 100644 --- a/src/main/java/com/mmodding/mmodding_lib/library/utils/InventoryUtils.java +++ b/src/main/java/com/mmodding/mmodding_lib/library/utils/InventoryUtils.java @@ -11,7 +11,7 @@ public class InventoryUtils { - public DefaultedList sort(DefaultedList content) { + public static DefaultedList sort(DefaultedList content) { Map, Integer> items = new HashMap<>(); content.stream().filter(stack -> !stack.isEmpty()).forEach(stack -> {