summaryrefslogtreecommitdiff
path: root/chatcommands.lua
diff options
context:
space:
mode:
authorBrandon <brandon@bremaweb.com>2013-06-23 22:47:53 -0500
committerBrandon <brandon@bremaweb.com>2013-06-23 22:47:53 -0500
commit310e367c564f91f2b20ebe7cf3bfde6c17ec3b05 (patch)
treef9d798b3855d6dae2eec575dc062e36db6b4ea08 /chatcommands.lua
parenta4edeede2bc1c9f71dd1390f256c62a6ac12e406 (diff)
fix show area
Diffstat (limited to 'chatcommands.lua')
-rw-r--r--chatcommands.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/chatcommands.lua b/chatcommands.lua
index 15500c7..e40c6ae 100644
--- a/chatcommands.lua
+++ b/chatcommands.lua
@@ -129,6 +129,7 @@ minetest.register_chatcommand("showarea", {
-- if owner then
--if landrush.can_interact(name, pos) then
local entpos = landrush.get_chunk_center(pos)
+ entpos.y = (pos.y-1)
minetest.env:add_entity(entpos, "landrush:showarea")
--else
-- minetest.chat_send_player(name, "This area is owned by "..owner)