From c428e0a93a0c27851c733b0600e46dc923444ccb Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Mon, 8 Jun 2020 15:44:37 +0200 Subject: Fixed Crash --- src/main/plots.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/plots.lua b/src/main/plots.lua index 9162879..2d6c67e 100644 --- a/src/main/plots.lua +++ b/src/main/plots.lua @@ -130,7 +130,7 @@ local plot_commands = { if pos.y < -100 then return false, "You can only use this command in the Overworld" end local plot = skycraft.get_plot_at_pos(pos) if plot and plot.owner == name then return false, "You are already on your home plot" end - skycraft.spawn_player(name) + skycraft.spawn_player(player) return true, "Warped to your home plot" end } -- cgit v1.2.3