diff --git a/api/logic/minecraft/World.cpp b/api/logic/minecraft/World.cpp index ad06bb83..c5275c76 100644 --- a/api/logic/minecraft/World.cpp +++ b/api/logic/minecraft/World.cpp @@ -471,7 +471,7 @@ void World::loadFromLevelDat(QByteArray data) auto &WorldGen_val = val.at("WorldGenSettings"); randomSeed = read_long(WorldGen_val, "seed"); } - catch (std::out_of_range) {} + catch (const std::out_of_range &) {} if(!randomSeed) { randomSeed = read_long(val, "RandomSeed"); }