Fix Syntax Error
This commit is contained in:
parent
d85f95ad10
commit
0f14562112
|
@ -289,7 +289,7 @@ minetest.register_chatcommand("at_restore_ndb",
|
|||
description = "Write node db back to map", -- Full description
|
||||
privs = {train_operator=true, worldedit=true}, -- Require the "privs" privilege to run
|
||||
func = function(name, param)
|
||||
if !minetest.check_player_privs(name, {server=true}) and os.time() < ptime+30 then
|
||||
if not minetest.check_player_privs(name, {server=true}) and os.time() < ptime+30 then
|
||||
return false, "Please wait at least 30s from the previous execution of /at_restore_ndb!"
|
||||
end
|
||||
ndb.restore_all()
|
||||
|
|
Loading…
Reference in New Issue