diff options
Diffstat (limited to 'src/database-dummy.cpp')
-rw-r--r-- | src/database-dummy.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/database-dummy.cpp b/src/database-dummy.cpp index df1057274..62483c81b 100644 --- a/src/database-dummy.cpp +++ b/src/database-dummy.cpp @@ -59,6 +59,11 @@ std::string Database_Dummy::loadBlock(v3s16 blockpos) return ""; } +bool Database_Dummy::deleteBlock(v3s16 blockpos) +{ + m_database.erase(getBlockAsInteger(blockpos)); +} + void Database_Dummy::listAllLoadableBlocks(std::list<v3s16> &dst) { for(std::map<u64, std::string>::iterator x = m_database.begin(); x != m_database.end(); ++x) |