summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities
diff options
context:
space:
mode:
authorhaotnn <haotnn@gmail.com>2015-05-19 08:19:03 +0200
committerhaotnn <haotnn@gmail.com>2015-05-19 08:19:03 +0200
commit6128e3f7cd9eb3cf0226feafddb323ed17a00e65 (patch)
tree07030cb30d4f42f2e20bdbf76a8e50a04ba1d489 /src/BlockEntities
parentMerge branch 'master' of https://github.com/mc-server/MCServer (diff)
downloadcuberite-6128e3f7cd9eb3cf0226feafddb323ed17a00e65.tar
cuberite-6128e3f7cd9eb3cf0226feafddb323ed17a00e65.tar.gz
cuberite-6128e3f7cd9eb3cf0226feafddb323ed17a00e65.tar.bz2
cuberite-6128e3f7cd9eb3cf0226feafddb323ed17a00e65.tar.lz
cuberite-6128e3f7cd9eb3cf0226feafddb323ed17a00e65.tar.xz
cuberite-6128e3f7cd9eb3cf0226feafddb323ed17a00e65.tar.zst
cuberite-6128e3f7cd9eb3cf0226feafddb323ed17a00e65.zip
Diffstat (limited to 'src/BlockEntities')
-rw-r--r--src/BlockEntities/FurnaceEntity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/BlockEntities/FurnaceEntity.cpp b/src/BlockEntities/FurnaceEntity.cpp
index 2621b560b..828eff284 100644
--- a/src/BlockEntities/FurnaceEntity.cpp
+++ b/src/BlockEntities/FurnaceEntity.cpp
@@ -189,6 +189,7 @@ void cFurnaceEntity::BurnNewFuel(void)
// Is the input and output ready for cooking?
if (!CanCookInputToOutput())
{
+ SetBurnTimes(0, 0);
return;
}