summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-30 17:36:51 +0200
committermadmaxoft <github@xoft.cz>2014-04-30 17:36:51 +0200
commitf2b579077649d5f40e0e60b53e60fe3b4804dada (patch)
treeb2a81c6a831c482247be18ff48ceed5116531e31 /src
parentLadders set as transparent. (diff)
downloadcuberite-f2b579077649d5f40e0e60b53e60fe3b4804dada.tar
cuberite-f2b579077649d5f40e0e60b53e60fe3b4804dada.tar.gz
cuberite-f2b579077649d5f40e0e60b53e60fe3b4804dada.tar.bz2
cuberite-f2b579077649d5f40e0e60b53e60fe3b4804dada.tar.lz
cuberite-f2b579077649d5f40e0e60b53e60fe3b4804dada.tar.xz
cuberite-f2b579077649d5f40e0e60b53e60fe3b4804dada.tar.zst
cuberite-f2b579077649d5f40e0e60b53e60fe3b4804dada.zip
Diffstat (limited to 'src')
-rw-r--r--src/Item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Item.h b/src/Item.h
index 00316c188..641c681db 100644
--- a/src/Item.h
+++ b/src/Item.h
@@ -64,7 +64,7 @@ public:
{
if (!IsValidItem(m_ItemType))
{
- if (m_ItemType != E_BLOCK_AIR)
+ if ((m_ItemType != E_BLOCK_AIR) && (m_ItemType != E_ITEM_EMPTY))
{
LOGWARNING("%s: creating an invalid item type (%d), resetting to empty.", __FUNCTION__, a_ItemType);
}