1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 02:00:37 +01:00

Updated biome_lib

- May solve #222
This commit is contained in:
LeMagnesium 2015-08-23 19:46:57 +02:00
parent a5e3c67304
commit 7856f095a7
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
biome_lib = {} biome_lib = {}
plantslib = setmetatable({}, { __index=function(t,k) minetest.log("warning", "Use of deprecated function:", k) return biomes_lib[k] end }) plantslib = setmetatable({}, { __index=function(t,k) minetest.log("warning", "Use of deprecated function:", k) return biome_lib[k] end })
biome_lib.blocklist_aircheck = {} biome_lib.blocklist_aircheck = {}
biome_lib.blocklist_no_aircheck = {} biome_lib.blocklist_no_aircheck = {}

View File

@ -82,7 +82,7 @@ set_manamax = function(runelevel, itemstack, user, pointed_thing)
end end
set_manamax = function(itemstack, user, pointed_thing) set_manamax = function(level, itemstack, user, pointed_thing)
if user and user:is_player() then if user and user:is_player() then
mana.set(user:get_player_name(),mana.getmax(user:get_player_name())) mana.set(user:get_player_name(),mana.getmax(user:get_player_name()))
if not minetest.get_player_privs(user:get_player_name()).server then if not minetest.get_player_privs(user:get_player_name()).server then