aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/plots.lua2
1 files changed, 1 insertions, 1 deletions
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
}