Bug#877484: minetest-mod-torches: WARNING: minetest.setting_* functions are deprecated. Use methods on the minetest.settings object.
Paul Wise
pabs at debian.org
Mon Oct 2 06:44:41 UTC 2017
Package: minetest-mod-torches
Version: 5-1
Severity: minor
Usertags: warnings
Whenever I enable the minetest torches mod, I get two warnings about
using deprecated functions:
2017-10-01 16:32:21: WARNING[Main]: WARNING: minetest.setting_* functions are deprecated. Use methods on the minetest.settings object.
2017-10-01 16:32:21: WARNING[Main]: WARNING: minetest.setting_* functions are deprecated. Use methods on the minetest.settings object.
Looks like these are the cause of those warnings:
$ dpkg -L minetest-mod-torches | xargs zgrep -n minetest.setting_
/usr/share/games/minetest/mods/torches/init.lua:92:if not minetest.is_yes(minetest.setting_get("torches_wieldlight_enable") or true) then
/usr/share/games/minetest/mods/torches/init.lua:95:local torchlight_update_interval = minetest.setting_get("torches_wieldlight_interval") or 0.25
-- System Information:
Debian Release: buster/sid
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.13.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages minetest-mod-torches depends on:
ii minetest 0.4.16+repack-4
minetest-mod-torches recommends no packages.
minetest-mod-torches suggests no packages.
-- no debconf information
--
bye,
pabs
https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20171002/31944459/attachment.sig>
More information about the Pkg-games-devel
mailing list