Time Nick Message 17:01 randomguy Hello, busy writing a mod. I notice that minetest.get_perlin() returns nil sometimes. Checking the source for int ModApiEnvMod::l_get_perlin(lua_State *L), I can't see anyway this API can return nil. What am I doing wrong? 17:06 randomguy Could it be that this function has API preconditions? I'm calling it during mod-init, maybe I'll try putting it inside minetest.after() ... 17:14 randomguy Putting minetest.get_perlin() inside minetest.after() works, so there must be API preconditions. Could it be related to on_mapgen_init? 17:14 randomguy Anyway it's working so I'll leave it for now. I wish the documentation said what the preconditions were ... 19:29 Krock !tell randomguy Some functions have a strange behaviour at load time, yes. If you know C++ it would be awesome if you could propose a fix for this issue :) 19:29 MinetestBot Krock: yeah, yeah 19:31 Krock register_on_mapgen_init seems to be deprecated, though. 21:03 MinetestBot 02[git] 04An0n3m0us -> 03minetest/minetest_game: Add log for seeds on place 13232cc2b https://git.io/JvCvt (152020-02-10T21:00:40Z) 23:04 Nigel VanessaE are you online right now? 23:06 Nigel I have a patch for unified inventory which should be a no-brainer to accept, but I understand there is some friction in the minetest-mods group. 23:07 Nigel I would like to ask if I should PR to you aor the minetest-mods version ofunified inventory? 23:07 Nigel ^of unified 23:09 Nigel I watch the logs of this channel & the dev channel daily, so any reply would be great.