Change optionnal depends + the way to define areas.factions_available to differencies factions mod of playerfactions mod

This commit is contained in:
Supergoat666 2020-08-26 18:34:10 +02:00
parent aef129d119
commit c8b015d290
2 changed files with 2 additions and 3 deletions

View File

@ -9,8 +9,7 @@ Minetest 5.0.0+
Optional support for following mods:
* [playerfactions](https://forum.minetest.net/viewtopic.php?t=23281) by aldenp
* [factions](https://forum.minetest.net/viewtopic.php?t=20949) by Coder12
* [playerfactions](https://git.leagueh.xyz/katp32/playerfactions/) by [katp32](https://git.leagueh.xyz/katp32) & [Kalio_42](https://git.leagueh.xyz/Kalio_42)
Configuration

View File

@ -4,7 +4,7 @@
areas = {}
areas.factions_available = minetest.global_exists("factions")
areas.factions_available = minetest.get_modpath("playerfactions") and true
areas.adminPrivs = {areas=true}
areas.startTime = os.clock()