Make the mod work unconfigured and remove debug message

This commit is contained in:
Elias Fleckenstein 2021-03-26 12:47:03 +01:00
parent 03ce6db43e
commit e8d50c038b

View file

@ -2,8 +2,10 @@ playerlist = {
huds = {}
}
local playerlist_key = minetest.settings:get("playerlist_key") or "sneak"
print(playerlist_key)
local playerlist_key = minetest.settings:get("playerlist_key")
if playerlist_key == "" then
playerlist_key = "sneak"
end
function playerlist.iterator()
return ipairs(minetest.get_connected_players())