mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-21 12:32:29 +00:00
Add 'else' block to ensure all exceptions are logged.
This commit is contained in:
1 parent
c49c3ce4da
commit
06a849ad79
1 file changed
+2
@@ -218,6 +218,8 @@ public class MineTweakerImplementationAPI {
|
||||
ShapelessRecipe shapeless = (ShapelessRecipe) recipe;
|
||||
IItemStack out = shapeless.getOutput();
|
||||
MineTweakerAPI.logError("Could not dump recipe for " + out, ex);
|
||||
} else {
|
||||
MineTweakerAPI.logError("Could not dump recipe", ex)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user