1
0

Added cRoot:GetFurnaceFuelBurnTime() to Lua API.

This commit is contained in:
madmaxoft
2013-11-22 16:50:03 +01:00
parent 14569885e5
commit 281bf8f90b
5 changed files with 67 additions and 3 deletions

View File

@@ -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);
}