Make public static for RS Addons
This commit is contained in:
@@ -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));
|
Set<Item> validItems = new HashSet<>(Arrays.asList(items));
|
||||||
|
|
||||||
int slotFound = -1;
|
int slotFound = -1;
|
||||||
|
Reference in New Issue
Block a user