mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-11 18:40:25 +01:00
improve mapfix (again)
This commit is contained in:
parent
9692451ede
commit
a2b30a2aba
@ -16,7 +16,7 @@ minetest.register_chatcommand("mapfix", {
|
||||
description = "Recalculate the flowing liquids and the light of a chunk",
|
||||
func = function(name, param)
|
||||
local pos = minetest.get_player_by_name(name):getpos()
|
||||
local size = tonumber(param) or 40
|
||||
local size = tonumber(param) or default_size
|
||||
local privs = minetest.check_player_privs(name, {server=true})
|
||||
local time = os.time()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user