diff options
author | madmaxoft <github@xoft.cz> | 2014-04-30 17:36:51 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-30 17:36:51 +0200 |
commit | f2b579077649d5f40e0e60b53e60fe3b4804dada (patch) | |
tree | b2a81c6a831c482247be18ff48ceed5116531e31 /src/Item.h | |
parent | Ladders set as transparent. (diff) | |
download | cuberite-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/Item.h')
-rw-r--r-- | src/Item.h | 2 |
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); } |