Skip to content

Commit

Permalink
rare crash
Browse files Browse the repository at this point in the history
  • Loading branch information
proller committed Jan 18, 2014
1 parent c2e7fa7 commit 89dd1d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mapsector.cpp
Expand Up @@ -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
Expand Down Expand Up @@ -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" /*<PP(block->getPos())*/ <<std::endl;
}

v2s16 p2d(block->getPos().X, block->getPos().Z);
Expand Down

0 comments on commit 89dd1d8

Please sign in to comment.