From 33b9d59fa7b4036b762e1aee89285343dadbf11d Mon Sep 17 00:00:00 2001 From: Coder12a <38924418+Coder12a@users.noreply.github.com> Date: Fri, 26 Oct 2018 19:43:34 -0500 Subject: [PATCH] Chest bug fix. --- README.md | 2 -- nodes.lua | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 73bb987..0c0e36b 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,6 @@ Add short worded commands. Parcels should show up at a more accurate position just like in mc factions. -Allow faction chest to become big when you place two chests by each other like in mc. - Add-on mod mc style tnt. Add-on mod lag-free fire(if thats possible). \ No newline at end of file diff --git a/nodes.lua b/nodes.lua index 7794423..6b2fcfa 100644 --- a/nodes.lua +++ b/nodes.lua @@ -51,7 +51,7 @@ minetest.register_node("factions:chest", { local meta = minetest.get_meta(pos); local inv = meta:get_inventory() return inv:is_empty("main") and - default.can_interact_with_node(player, pos) + factions.can_use_chest(pos, player:get_player_name()) end, allow_metadata_inventory_move = function(pos, from_list, from_index, to_list, to_index, count, player) if factions.can_use_chest(pos, player:get_player_name()) then