From 1c818939338377b6430fde3c09cbf71ddc4a8f06 Mon Sep 17 00:00:00 2001 From: HimbeerserverDE Date: Tue, 27 Apr 2021 08:25:54 +0200 Subject: [PATCH] Revert "Re-add set_skyblock_spawn command" This reverts commit ca57da96a808ec181fcd2cb7b481736499b12714. --- skyblock.lua | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/skyblock.lua b/skyblock.lua index effeb81..a1d9bb6 100755 --- a/skyblock.lua +++ b/skyblock.lua @@ -308,8 +308,6 @@ minetest.register_craft({ } }) --- commands - minetest.register_chatcommand("island", { params = "", description = "Teleport to your Island", @@ -319,20 +317,3 @@ minetest.register_chatcommand("island", { elidragon.skyblock.spawn_player(player) end, }) - -minetest.register_chatcommand("set_skyblock_spawn", { - params = " ", - description = "Set new skyblock spawn for ", - privs = {server = true}, - func = function(sender, param) - local name = param:split(" ")[1] - local x = tonumber(param:split(" ")[2]) - local y = tonumber(param:split(" ")[3]) - local z = tonumber(param:split(" ")[4]) - if name and x and y and z and minetest.get_player_by_name(name) then - elidragon.skyblock.set_spawn(minetest.get_player_by_name(name), {x = x, y = y, z = z}) - else - minetest.chat_send_player(sender, "Invalid usage or player not online") - end - end, -}) -- 2.44.0