diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-06-08 15:44:37 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-06-08 15:44:37 +0200 |
commit | c428e0a93a0c27851c733b0600e46dc923444ccb (patch) | |
tree | 431780d323cc3d55e46e84313897ef3cdac45220 /src/main/plots.lua | |
parent | d7d4ae77a24be9dd6204c9ed92774afb47840cf7 (diff) | |
download | skycraft-c428e0a93a0c27851c733b0600e46dc923444ccb.tar.xz |
Fixed Crash
Diffstat (limited to 'src/main/plots.lua')
-rw-r--r-- | src/main/plots.lua | 2 |
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 } |