Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void craftingrecipe(){
- if (craftingrecipes(location, items))
- //do stuff
- }
- public boolean craftingrecipes(Location location, ItemStack itemstacks) {
- List<String> filterItems = new FilterItems().getRecipeFromCraftingfiltergui(null, location);
- for (String filteritem : filterItems)
- if (filteritem.equals(itemstacks.getType().name()))
- return true;
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement