summaryrefslogtreecommitdiffstats
path: root/source/Root.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-22 16:50:03 +0100
committermadmaxoft <github@xoft.cz>2013-11-22 16:50:03 +0100
commit281bf8f90bbd295bb81ec09889bcaeefa689e6b2 (patch)
treedef7903bbb2abb92381f0660a6806ad13ff2a8ba /source/Root.cpp
parentFixed cRoot:GetFurnaceRecipe() Lua binding. (diff)
downloadcuberite-281bf8f90bbd295bb81ec09889bcaeefa689e6b2.tar
cuberite-281bf8f90bbd295bb81ec09889bcaeefa689e6b2.tar.gz
cuberite-281bf8f90bbd295bb81ec09889bcaeefa689e6b2.tar.bz2
cuberite-281bf8f90bbd295bb81ec09889bcaeefa689e6b2.tar.lz
cuberite-281bf8f90bbd295bb81ec09889bcaeefa689e6b2.tar.xz
cuberite-281bf8f90bbd295bb81ec09889bcaeefa689e6b2.tar.zst
cuberite-281bf8f90bbd295bb81ec09889bcaeefa689e6b2.zip
Diffstat (limited to '')
-rw-r--r--source/Root.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/Root.cpp b/source/Root.cpp
index be5a0553c..5bb04abfb 100644
--- a/source/Root.cpp
+++ b/source/Root.cpp
@@ -742,3 +742,13 @@ void cRoot::LogChunkStats(cCommandOutputCallback & a_Output)
+
+int cRoot::GetFurnaceFuelBurnTime(const cItem & a_Fuel)
+{
+ cFurnaceRecipe * FR = Get()->GetFurnaceRecipe();
+ return FR->GetBurnTime(a_Fuel);
+}
+
+
+
+