From 96a3474c4072f5162198b8bfe88f377240dc7b1f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 8 Sep 2017 16:32:33 +0200 Subject: [PATCH] Disable cart spawning cuz error message spam --- mods/MAPGEN/tsm_railcorridors/init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mods/MAPGEN/tsm_railcorridors/init.lua b/mods/MAPGEN/tsm_railcorridors/init.lua index ad0d0c27be..6cdf298e1d 100644 --- a/mods/MAPGEN/tsm_railcorridors/init.lua +++ b/mods/MAPGEN/tsm_railcorridors/init.lua @@ -66,7 +66,10 @@ if setting then end -- Probability for every part of a corridor to contain a cart -local probability_cart = P(0.05) +-- Disabled because cart spawning creates error message spam: +-- “m_static_exists=true but static data doesn't actually exist in (x,y,z) +-- TODO: Set back to 0.05 if this is fixedd. +local probability_cart = P(0) setting = tonumber(minetest.settings:get("tsm_railcorridors_probability_cart")) if setting then probability_cart = P(setting)