mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-23 08:08:47 -05:00
fixed the bug of disabled removal of empty chests
This commit is contained in:
parent
5b72b22409
commit
212f34db82
@ -113,6 +113,10 @@ Gaming ideas:
|
|||||||
|
|
||||||
- Random NPC traders. what else?
|
- Random NPC traders. what else?
|
||||||
|
|
||||||
|
Game content:
|
||||||
|
-------------
|
||||||
|
- Glass blocks
|
||||||
|
|
||||||
Documentation:
|
Documentation:
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
@ -163,6 +167,8 @@ TODO: Flowing water animation
|
|||||||
SUGG: Draw cubes in inventory directly with 3D drawing commands, so that
|
SUGG: Draw cubes in inventory directly with 3D drawing commands, so that
|
||||||
animating them is easier.
|
animating them is easier.
|
||||||
|
|
||||||
|
SUGG: Option for enabling proper alpha channel for textures
|
||||||
|
|
||||||
Configuration:
|
Configuration:
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
@ -172,10 +172,10 @@ bool ChestNodeMetadata::nodeRemovalDisabled()
|
|||||||
*/
|
*/
|
||||||
InventoryList *list = m_inventory->getList("0");
|
InventoryList *list = m_inventory->getList("0");
|
||||||
if(list == NULL)
|
if(list == NULL)
|
||||||
return true;
|
return false;
|
||||||
if(list->getUsedSlots() == 0)
|
if(list->getUsedSlots() == 0)
|
||||||
return true;
|
return false;
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user