diff options
author | madmaxoft <github@xoft.cz> | 2013-11-22 16:50:03 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-11-22 16:50:03 +0100 |
commit | 281bf8f90bbd295bb81ec09889bcaeefa689e6b2 (patch) | |
tree | def7903bbb2abb92381f0660a6806ad13ff2a8ba /source/Root.cpp | |
parent | Fixed cRoot:GetFurnaceRecipe() Lua binding. (diff) | |
download | cuberite-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.cpp | 10 |
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); +} + + + + |