1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-06-28 14:36:03 +02:00

add peaceful player privs and settings (thanks sfence)

This commit is contained in:
TenPlus1
2021-01-04 12:28:17 +00:00
parent 00ac9efc8c
commit 76ee3d0b51
4 changed files with 31 additions and 2 deletions

View File

@ -1,6 +1,12 @@
local path = minetest.get_modpath("mobs")
-- Peaceful player privilege
minetest.register_privilege("peaceful_player", {
description = "Prevents Mobs Redo mobs from attacking player",
give_to_singleplayer = false
})
-- Mob API
dofile(path .. "/api.lua")