mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-28 16:06:04 +00:00
Fix more null warnings
This commit is contained in:
1 parent
ca1b4b03b1
commit
b2963069fc
6 files changed
+22
-19
No files matched your search
@@ -67,10 +67,10 @@ public class Lumbermill {
|
||||
if (recipe.recipeItems.size() != 1) {
|
||||
continue;
|
||||
}
|
||||
if (!(recipe.recipeItems.get(0) instanceof ItemStack)) {
|
||||
if (!(recipe.recipeItems.get(0) != null)) {
|
||||
continue;
|
||||
}
|
||||
final ItemStack input = (ItemStack) recipe.recipeItems.get(0);
|
||||
final ItemStack input = recipe.recipeItems.get(0);
|
||||
if (recipe.getRecipeOutput() != null && recipe.getRecipeOutput().isItemEqual(output)) {
|
||||
list.add(input);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user