summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 31cb5ce..f6c36d5 100644
--- a/init.lua
+++ b/init.lua
@@ -319,7 +319,7 @@ minetest.register_globalstep(function(dtime)
gstepCount = gstepCount + dtime
if ( gstepCount > 2 ) then
- for _,player in pairs(minetest.get_connected_players()) do
+ for _,player in ipairs(minetest.get_connected_players()) do
local name = player:get_player_name()
local sameowner = false
owner = landrush.get_owner(player:getpos())
@@ -337,7 +337,7 @@ minetest.register_globalstep(function(dtime)
end
if ( owner ~= nil and sameowner == false ) then
- minetest.log('action','Redraw hud for'..name)
+ minetest.log('action','Redraw hud for '..name)
playerHudItems[name] = {hud = player:hud_add({
hud_elem_type = "text",
name = "LandOwner",