aboutsummaryrefslogtreecommitdiff
path: root/src/nodemetadata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nodemetadata.cpp')
-rw-r--r--src/nodemetadata.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nodemetadata.cpp b/src/nodemetadata.cpp
index 8b21856de..be21622d3 100644
--- a/src/nodemetadata.cpp
+++ b/src/nodemetadata.cpp
@@ -172,10 +172,10 @@ bool ChestNodeMetadata::nodeRemovalDisabled()
*/
InventoryList *list = m_inventory->getList("0");
if(list == NULL)
- return true;
+ return false;
if(list->getUsedSlots() == 0)
- return true;
- return false;
+ return false;
+ return true;
}
/*