From 6fb06801e60a25d939920f53bf11453f84165c07 Mon Sep 17 00:00:00 2001 From: gpcf Date: Sun, 22 Sep 2024 20:17:17 +0200 Subject: Fix accidental deletion of newline --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 1532ef6..79b921e 100644 --- a/init.lua +++ b/init.lua @@ -364,7 +364,8 @@ smartshop.showform=function(pos,player,re) local creative=meta:get_int("creative") local inv = meta:get_inventory() local gui="" - local spos=pos.x .. "," .. pos.y .. "," .. pos.z local owner=meta:get_string("owner")==player:get_player_name() + local spos=pos.x .. "," .. pos.y .. "," .. pos.z + local owner=meta:get_string("owner")==player:get_player_name() if minetest.check_player_privs(player:get_player_name(), {protection_bypass=true}) then owner=true end if re then owner=false end smartshop.user[player:get_player_name()]= {pos, owner} -- cgit v1.2.3