mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 02:00:37 +01:00
parent
a5e3c67304
commit
7856f095a7
@ -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 = {}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user