summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-04-12 23:56:21 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-04-12 23:56:21 +0200
commit5ae924ec74bab199284c451552040bcc6f39bb3a (patch)
treec5d2407c16860efe286d3f34286e9153eb320541 /src
parentImplement random ticks more faithfully (diff)
downloadcuberite-5ae924ec74bab199284c451552040bcc6f39bb3a.tar
cuberite-5ae924ec74bab199284c451552040bcc6f39bb3a.tar.gz
cuberite-5ae924ec74bab199284c451552040bcc6f39bb3a.tar.bz2
cuberite-5ae924ec74bab199284c451552040bcc6f39bb3a.tar.lz
cuberite-5ae924ec74bab199284c451552040bcc6f39bb3a.tar.xz
cuberite-5ae924ec74bab199284c451552040bcc6f39bb3a.tar.zst
cuberite-5ae924ec74bab199284c451552040bcc6f39bb3a.zip
Diffstat (limited to 'src')
-rw-r--r--src/Generating/ComposableGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp
index 8d3f361bd..14236a2e1 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -466,7 +466,7 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
}
else if (NoCaseCompare(finisher, "ForestRocks") == 0)
{
- m_FinishGens.push_back(cFinishGenPtr(new cFinishGenForestRocks(m_Seed, a_IniFile)));
+ m_FinishGens.push_back(std::make_unique<cFinishGenForestRocks>(m_Seed, a_IniFile));
}
else if (NoCaseCompare(finisher, "GlowStone") == 0)
{