summaryrefslogtreecommitdiffstats
path: root/source/BlockID.cpp
diff options
context:
space:
mode:
authorcedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-04 15:35:41 +0200
committercedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-04 15:35:41 +0200
commit6fb868d1965269014189411d7516c584e6c010a5 (patch)
treee5338d52a64d886dc27765da3b3e9a304893a7aa /source/BlockID.cpp
parentAdded the new recipe parser, parsing the crafting.txt file. Included are a few recipes. The old parser still works, but will be replaced soon. (diff)
downloadcuberite-6fb868d1965269014189411d7516c584e6c010a5.tar
cuberite-6fb868d1965269014189411d7516c584e6c010a5.tar.gz
cuberite-6fb868d1965269014189411d7516c584e6c010a5.tar.bz2
cuberite-6fb868d1965269014189411d7516c584e6c010a5.tar.lz
cuberite-6fb868d1965269014189411d7516c584e6c010a5.tar.xz
cuberite-6fb868d1965269014189411d7516c584e6c010a5.tar.zst
cuberite-6fb868d1965269014189411d7516c584e6c010a5.zip
Diffstat (limited to '')
-rw-r--r--source/BlockID.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/BlockID.cpp b/source/BlockID.cpp
index 12771513f..c4d6787f0 100644
--- a/source/BlockID.cpp
+++ b/source/BlockID.cpp
@@ -36,7 +36,7 @@ public:
return m_Ini.GetValueI("Items", a_ItemName, -1);
}
- AString ResolveString(AString & a_ItemName)
+ AString ResolveString(const AString & a_ItemName)
{
return m_Ini.GetValue("Items", a_ItemName, "");
}