Major update.

This commit is contained in:
Coder12a
2018-10-15 10:24:58 -05:00
parent 15f674da93
commit 4353b6a050
9 changed files with 651 additions and 250 deletions

View File

@ -21,7 +21,7 @@ function factions.can_use_chest(pos, player)
if not parcel_faction then
return true
end
return player_faction and (parcel_faction.name == player_faction.name)
return player_faction and (parcel_faction.name == player_faction.name or parcel_faction.allies[player_faction.name])
end
minetest.register_node("factions:chest", {