Bug#834596: minetest-mod-nether: conflicts with minetest-mod-moreblocks
Nils Dagsson Moskopp
nils+debian-reportbug at dieweltistgarnichtso.net
Wed Aug 17 13:31:27 UTC 2016
Package: minetest-mod-nether
Version: 2-1
Severity: important
Dear Maintainer,
I have installed minetest-mod-moreblocks and minetest-mod-nether.
Activating both in a map does not work and generates this error:
--- snib ---
2016-08-17 14:28:03: WARNING[Main]: Undeclared global variable "stairsplus" accessed at /usr/share/games/minetest/mods/nether/init.lua:489
2016-08-17 14:28:03: ERROR[Main]: ModError: Failed to load and run script from /usr/share/games/minetest/mods/nether/init.lua:
2016-08-17 14:28:03: ERROR[Main]: /usr/share/games/minetest/mods/nether/init.lua:489: attempt to index global 'stairsplus' (a nil value)
2016-08-17 14:28:03: ERROR[Main]: stack traceback:
2016-08-17 14:28:03: ERROR[Main]: /usr/share/games/minetest/mods/nether/init.lua:489: in main chunk
--- snab ---
It seems to me that minetest-mod-nether relies on the assumption that
minetest-mod-moreblocks declares a global with the name “stairsplus”.
The relevant code in /usr/share/games/minetest/mods/nether/init.lua:
--- snib ---
if minetest.get_modpath("moreblocks") then
stairsplus:register_all(
"nether", "brick", "nether:brick", {
description = "Nether Brick",
groups = {cracky = 2, level = 2},
tiles = {"nether_brick.png"},
sounds = default.node_sound_stone_defaults(),
})
end
--- snab ---
Removing that code fixes the problem, but obviously removes a feature.
-- System Information:
Debian Release: 8.5
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages minetest-mod-nether depends on:
ii minetest 0.4.14+repack-5
minetest-mod-nether recommends no packages.
minetest-mod-nether suggests no packages.
-- debconf information excluded
More information about the Pkg-games-devel
mailing list