home_workshop_modpack/computers/commands/exit/init.lua

7 lines
147 B
Lua

function exit(pos, input, data)
minetest.close_formspec(data.player:get_player_name(), "")
return "you shouldnt see this"
end
return exit