From 89dd1d8f4bd71847ce63b80d57d08a0516d2d86e Mon Sep 17 00:00:00 2001 From: proller Date: Sat, 18 Jan 2014 14:25:12 +0400 Subject: [PATCH] rare crash --- src/mapsector.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mapsector.cpp b/src/mapsector.cpp index bfc25167dc..8d368c2a5e 100644 --- a/src/mapsector.cpp +++ b/src/mapsector.cpp @@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "exceptions.h" #include "mapblock.h" #include "serialization.h" +#include "log.h" #ifndef SERVER #include "mapblock_mesh.h" #endif @@ -128,7 +129,8 @@ void MapSector::insertBlock(MapBlock *block) MapBlock *block2 = getBlockBuffered(block_y); if(block2 != NULL){ - throw AlreadyExistsException("Block already exists"); + //throw AlreadyExistsException("Block already exists"); + errorstream<<"Block already exists" /*getPos())*/ <getPos().X, block->getPos().Z);