Cleanup
This commit is contained in:
parent
34e7c442e4
commit
36ea4b8726
8 changed files with 32 additions and 57 deletions
|
@ -21,13 +21,11 @@ public class CraftingRecipes {
|
|||
}
|
||||
}
|
||||
|
||||
protected static boolean itemExists(Item item)
|
||||
{
|
||||
protected static boolean itemExists(Item item) {
|
||||
return Registry.ITEM.getId(item) != Registry.ITEM.getDefaultId();
|
||||
}
|
||||
|
||||
protected static boolean blockExists(Block block)
|
||||
{
|
||||
|
||||
protected static boolean blockExists(Block block) {
|
||||
return Registry.BLOCK.getId(block) != Registry.BLOCK.getDefaultId();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue