Ajustado numero de medida
parent
db89a22bca
commit
e270461c1e
|
@ -47,8 +47,8 @@ minetest.register_on_cheat(function(player, cheat)
|
||||||
if status_tp[name] == false then
|
if status_tp[name] == false then
|
||||||
if not minetest.find_node_near(player:getpos(), 20, lista_blocos_tp) then
|
if not minetest.find_node_near(player:getpos(), 20, lista_blocos_tp) then
|
||||||
if minetest.check_player_privs(name, {teleport=true}) ~= true then
|
if minetest.check_player_privs(name, {teleport=true}) ~= true then
|
||||||
local msg = "[Ant-Cracker] Medida 12 | Aparentemente voce correu rapido demais."
|
local msg = "[Ant-Cracker] Medida 2 | Aparentemente voce correu rapido demais."
|
||||||
tomar_medida(name, 12, msg)
|
tomar_medida(name, 2, msg)
|
||||||
player:setpos(ultima_pos[name])
|
player:setpos(ultima_pos[name])
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue