dont teleport admin with player into jail
This commit is contained in:
parent
3b3fc170d9
commit
fbc4626558
@ -52,7 +52,7 @@ minetest.register_chatcommand("commands", {
|
|||||||
|
|
||||||
-- Commands, originally by Grailtest @0-afflatus
|
-- Commands, originally by Grailtest @0-afflatus
|
||||||
|
|
||||||
-- Notices
|
--Notice
|
||||||
|
|
||||||
function command.send_notice(target, text)
|
function command.send_notice(target, text)
|
||||||
local player = minetest.get_player_by_name(target)
|
local player = minetest.get_player_by_name(target)
|
||||||
@ -139,7 +139,7 @@ end
|
|||||||
|
|
||||||
function command:make_arrest(adminname)
|
function command:make_arrest(adminname)
|
||||||
local judge = minetest.get_player_by_name(adminname)
|
local judge = minetest.get_player_by_name(adminname)
|
||||||
judge:setpos(court_admin)
|
--judge:setpos(court_admin)
|
||||||
return true;
|
return true;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user