diff options
Diffstat (limited to 'src/database-redis.h')
-rw-r--r-- | src/database-redis.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database-redis.h b/src/database-redis.h index 92983ee7b..cc33db7d4 100644 --- a/src/database-redis.h +++ b/src/database-redis.h @@ -36,8 +36,8 @@ public: Database_Redis(ServerMap *map, std::string savedir); virtual void beginSave(); virtual void endSave(); - virtual bool saveBlock(MapBlock *block); - virtual MapBlock *loadBlock(v3s16 blockpos); + virtual bool saveBlock(v3s16 blockpos, std::string &data); + virtual std::string loadBlock(v3s16 blockpos); virtual void listAllLoadableBlocks(std::list<v3s16> &dst); virtual int Initialized(void); ~Database_Redis(); |