diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2017-12-03 21:57:53 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2017-12-03 21:57:53 +0100 |
commit | 835571054346bd21f22aa1414be5913aa67a98b0 (patch) | |
tree | e14d3998aa243844dd706c3f1559328c7ab8d008 | |
parent | 043a9d3e738ad9162925e02ff489900c0d56361f (diff) | |
download | smartshop-835571054346bd21f22aa1414be5913aa67a98b0.tar.gz smartshop-835571054346bd21f22aa1414be5913aa67a98b0.tar.bz2 smartshop-835571054346bd21f22aa1414be5913aa67a98b0.zip |
dirty fix for weird bug
-rw-r--r-- | init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -145,6 +145,9 @@ end) smartshop.update_info=function(pos)
+ if not pos then
+ return
+ end
local meta=minetest.get_meta(pos)
local inv = meta:get_inventory()
local owner=meta:get_string("owner")
|