cItem: Removed a warning emitted when creating an item from air
This commit is contained in:
parent
b522a9b262
commit
6af81c66e9
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user