diff options
author | Thomas--S <Thomas--S@users.noreply.github.com> | 2017-03-06 20:32:18 +0100 |
---|---|---|
committer | Thomas--S <Thomas--S@users.noreply.github.com> | 2017-03-06 20:32:18 +0100 |
commit | 35da22fcd292a04fdd1bee7026c1288d8a771a90 (patch) | |
tree | 6494dffddf0c5aacc5333b3146f2d9ff43e51345 | |
parent | 60b5ca5594143025a2d2f8683a773c0506eb7c11 (diff) |
Fix chest bug
-rw-r--r-- | technic_chests/register.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/technic_chests/register.lua b/technic_chests/register.lua index bf2f0e1..8e72aec 100644 --- a/technic_chests/register.lua +++ b/technic_chests/register.lua @@ -276,7 +276,7 @@ function technic.chests:definition(name, data) def.allow_metadata_inventory_move = self.inv_move def.allow_metadata_inventory_put = self.inv_put def.allow_metadata_inventory_take = self.inv_take - def.on_blast = function() end, + def.on_blast = function() end def.on_key_use = function(pos, player) local secret = minetest.get_meta(pos):get_string("key_lock_secret") local itemstack = player:get_wielded_item() @@ -291,7 +291,7 @@ function technic.chests:definition(name, data) "default:chest_locked", get_locked_chest_formspec(pos) ) - end, + end def.on_skeleton_key_use = function(pos, player, newsecret) local meta = minetest.get_meta(pos) local owner = meta:get_string("owner") @@ -311,7 +311,7 @@ function technic.chests:definition(name, data) end return secret, "a locked chest", owner - end, + end end return def end |