diff options
author | gpcf <gpcf@gpcf.eu> | 2024-09-22 20:17:17 +0200 |
---|---|---|
committer | gpcf <gpcf@gpcf.eu> | 2024-09-22 20:17:17 +0200 |
commit | 6fb06801e60a25d939920f53bf11453f84165c07 (patch) | |
tree | 570c268b12ca37814cedfe68b06535385a97f7fa /init.lua | |
parent | 3d755ed7a300eaad53e1a17c2270b5f645e53224 (diff) | |
download | smartshop-6fb06801e60a25d939920f53bf11453f84165c07.tar.gz smartshop-6fb06801e60a25d939920f53bf11453f84165c07.tar.bz2 smartshop-6fb06801e60a25d939920f53bf11453f84165c07.zip |
Fix accidental deletion of newline
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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} |