diff options
author | madmaxoft <github@xoft.cz> | 2013-08-04 16:06:28 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-04 16:06:28 +0200 |
commit | 6af81c66e9aea6ecc5913266815e7e468872dee4 (patch) | |
tree | 9d10d2c226c05229e86bf13c7a9c6f7e98de8392 /source/Item.h | |
parent | Ignoring all .ini files in the MCServer folder. (diff) | |
download | cuberite-6af81c66e9aea6ecc5913266815e7e468872dee4.tar cuberite-6af81c66e9aea6ecc5913266815e7e468872dee4.tar.gz cuberite-6af81c66e9aea6ecc5913266815e7e468872dee4.tar.bz2 cuberite-6af81c66e9aea6ecc5913266815e7e468872dee4.tar.lz cuberite-6af81c66e9aea6ecc5913266815e7e468872dee4.tar.xz cuberite-6af81c66e9aea6ecc5913266815e7e468872dee4.tar.zst cuberite-6af81c66e9aea6ecc5913266815e7e468872dee4.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Item.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/Item.h b/source/Item.h index fc54da51d..fee861050 100644 --- a/source/Item.h +++ b/source/Item.h @@ -55,7 +55,10 @@ public: { if (!IsValidItem(m_ItemType)) { - LOGWARNING("%s: creating an invalid item type (%d), resetting to empty.", __FUNCTION__, a_ItemType); + if (m_ItemType != E_BLOCK_AIR) + { + LOGWARNING("%s: creating an invalid item type (%d), resetting to empty.", __FUNCTION__, a_ItemType); + } Empty(); } } |