From 310e367c564f91f2b20ebe7cf3bfde6c17ec3b05 Mon Sep 17 00:00:00 2001
From: Brandon <brandon@bremaweb.com>
Date: Sun, 23 Jun 2013 22:47:53 -0500
Subject: fix show area

---
 chatcommands.lua | 1 +
 1 file changed, 1 insertion(+)

(limited to 'chatcommands.lua')

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)
-- 
cgit v1.2.3