Make public static for RS Addons

This commit is contained in:
raoulvdberge
2019-11-04 21:09:10 +01:00
parent 3fb23a2130
commit 16d200b297

View File

@@ -37,7 +37,7 @@ public class KeyInputListener {
}
}
private void findAndOpen(IInventory inv, Consumer<ITextComponent> onError, Item... items) {
public static void findAndOpen(IInventory inv, Consumer<ITextComponent> onError, Item... items) {
Set<Item> validItems = new HashSet<>(Arrays.asList(items));
int slotFound = -1;