summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorgpcf <gpcf@gpcf.eu>2024-09-22 20:17:17 +0200
committergpcf <gpcf@gpcf.eu>2024-09-22 20:17:17 +0200
commit6fb06801e60a25d939920f53bf11453f84165c07 (patch)
tree570c268b12ca37814cedfe68b06535385a97f7fa /init.lua
parent3d755ed7a300eaad53e1a17c2270b5f645e53224 (diff)
downloadsmartshop-6fb06801e60a25d939920f53bf11453f84165c07.tar.gz
smartshop-6fb06801e60a25d939920f53bf11453f84165c07.tar.bz2
smartshop-6fb06801e60a25d939920f53bf11453f84165c07.zip
Fix accidental deletion of newline
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua3
1 files changed, 2 insertions, 1 deletions
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}