Chest bug fix.

This commit is contained in:
Coder12a 2018-10-26 19:43:34 -05:00
parent 80001c9a15
commit 33b9d59fa7
2 changed files with 1 additions and 3 deletions

View File

@ -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).

View File

@ -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