forked from minetest-mods/areas
Add require_protection and node_ownership_legacy settings
require_protection: Disallows interactions outside of owned areas node_ownership_legacy: Skip 9+ year old compatibility code by default
This commit is contained in:
4
init.lua
4
init.lua
@ -16,7 +16,9 @@ dofile(areas.modpath.."/internal.lua")
|
||||
dofile(areas.modpath.."/chatcommands.lua")
|
||||
dofile(areas.modpath.."/pos.lua")
|
||||
dofile(areas.modpath.."/interact.lua")
|
||||
dofile(areas.modpath.."/legacy.lua")
|
||||
if areas.config.node_ownership_legacy then
|
||||
dofile(areas.modpath.."/legacy.lua")
|
||||
end
|
||||
dofile(areas.modpath.."/hud.lua")
|
||||
|
||||
areas:load()
|
||||
|
Reference in New Issue
Block a user