summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabian Stein <fenstein12@googlemail.com>2016-12-29 00:41:20 +0100
committerMattes D <github@xoft.cz>2016-12-29 00:41:20 +0100
commit90fcf9814fe49e5d2a2daccd93ffad55628356e0 (patch)
tree275e4c14e9792ceb3c014bfda653b8642a1c0e67 /src
parentRefactored to put URL Encoding / Decoding in a single place. (#3491) (diff)
downloadcuberite-90fcf9814fe49e5d2a2daccd93ffad55628356e0.tar
cuberite-90fcf9814fe49e5d2a2daccd93ffad55628356e0.tar.gz
cuberite-90fcf9814fe49e5d2a2daccd93ffad55628356e0.tar.bz2
cuberite-90fcf9814fe49e5d2a2daccd93ffad55628356e0.tar.lz
cuberite-90fcf9814fe49e5d2a2daccd93ffad55628356e0.tar.xz
cuberite-90fcf9814fe49e5d2a2daccd93ffad55628356e0.tar.zst
cuberite-90fcf9814fe49e5d2a2daccd93ffad55628356e0.zip
Diffstat (limited to 'src')
-rw-r--r--src/World.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp
index e66b52281..a9f9bfbed 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -3862,6 +3862,11 @@ cRedstoneSimulator * cWorld::InitializeRedstoneSimulator(cIniFile & a_IniFile)
{
res = new cRedstoneNoopSimulator(*this);
}
+ else
+ {
+ LOGWARNING("[Physics] Unknown RedstoneSimulator \"%s\" in %s, using the default of \"Incremental\".", SimulatorName.c_str(), GetIniFileName().c_str());
+ res = new cIncrementalRedstoneSimulator(*this);
+ }
m_SimulatorManager->RegisterSimulator(res, 2 /* Two game ticks is a redstone tick */);