summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-06-26 17:52:37 +0200
committerMattes D <github@xoft.cz>2014-06-26 17:52:37 +0200
commit67e3c645d3a648ebd4d797019a993ed9c27cdb5e (patch)
tree24a1a8a25bc0bb61ac49b02b7b00269a3d3e06fc
parentFurnaceRecipe parser: Added an else branch, changed to a switch. (diff)
downloadcuberite-67e3c645d3a648ebd4d797019a993ed9c27cdb5e.tar
cuberite-67e3c645d3a648ebd4d797019a993ed9c27cdb5e.tar.gz
cuberite-67e3c645d3a648ebd4d797019a993ed9c27cdb5e.tar.bz2
cuberite-67e3c645d3a648ebd4d797019a993ed9c27cdb5e.tar.lz
cuberite-67e3c645d3a648ebd4d797019a993ed9c27cdb5e.tar.xz
cuberite-67e3c645d3a648ebd4d797019a993ed9c27cdb5e.tar.zst
cuberite-67e3c645d3a648ebd4d797019a993ed9c27cdb5e.zip
Diffstat (limited to '')
-rw-r--r--src/FurnaceRecipe.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FurnaceRecipe.cpp b/src/FurnaceRecipe.cpp
index f8949d45f..eff09a8d3 100644
--- a/src/FurnaceRecipe.cpp
+++ b/src/FurnaceRecipe.cpp
@@ -94,7 +94,7 @@ void cFurnaceRecipe::ReloadRecipes(void)
!ReadMandatoryNumber(BeginPos, "0123456789", ParsingLine, Line, IBurnTime, true) // Read item burn time - last value
)
{
- return;
+ break;
}
// Add to fuel list:
@@ -129,7 +129,7 @@ void cFurnaceRecipe::ReloadRecipes(void)
!ReadOptionalNumbers(BeginPos, ":", "012456789", ParsingLine, Line, OItemCount, OItemHealth, true) // Read result count (and optionally health) - last value
)
{
- return;
+ break;
}
// Add to recipe list