1
0
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:
Gael-de-Sailly 2015-10-04 22:59:01 +02:00
parent 9692451ede
commit a2b30a2aba

View File

@ -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()