Chest bug fix.
This commit is contained in:
parent
80001c9a15
commit
33b9d59fa7
@ -33,8 +33,6 @@ Add short worded commands.
|
|||||||
|
|
||||||
Parcels should show up at a more accurate position just like in mc factions.
|
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 mc style tnt.
|
||||||
|
|
||||||
Add-on mod lag-free fire(if thats possible).
|
Add-on mod lag-free fire(if thats possible).
|
@ -51,7 +51,7 @@ minetest.register_node("factions:chest", {
|
|||||||
local meta = minetest.get_meta(pos);
|
local meta = minetest.get_meta(pos);
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
return inv:is_empty("main") and
|
return inv:is_empty("main") and
|
||||||
default.can_interact_with_node(player, pos)
|
factions.can_use_chest(pos, player:get_player_name())
|
||||||
end,
|
end,
|
||||||
allow_metadata_inventory_move = function(pos, from_list, from_index, to_list, to_index, count, player)
|
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
|
if factions.can_use_chest(pos, player:get_player_name()) then
|
||||||
|
Loading…
Reference in New Issue
Block a user