mirror of
https://github.com/minetest-mods/more_chests.git
synced 2025-11-09 20:15:21 +01:00
Compare commits
6 Commits
master
...
98edbfc5cc
| Author | SHA1 | Date | |
|---|---|---|---|
| 98edbfc5cc | |||
| 7077a16ac5 | |||
| 7bd7a66008 | |||
| ddb75a7564 | |||
| a290de6e39 | |||
|
|
f2ab35cd02 |
3
init.lua
3
init.lua
@@ -5,7 +5,6 @@ dofile(minetest.get_modpath("more_chests").."/models/secret.lua")
|
||||
dofile(minetest.get_modpath("more_chests").."/models/shared.lua")
|
||||
dofile(minetest.get_modpath("more_chests").."/models/toolbox.lua")
|
||||
dofile(minetest.get_modpath("more_chests").."/models/wifi.lua")
|
||||
|
||||
dofile(minetest.get_modpath("more_chests").."/utils/aliases.lua")
|
||||
|
||||
print ("[MOD] more_chests loaded")
|
||||
minetest.log("action", "[more_chests] loaded.")
|
||||
|
||||
@@ -25,7 +25,7 @@ local function check_privs(meta, player)
|
||||
local shared = " " .. meta:get_string("shared") .. " "
|
||||
if name == meta:get_string("owner") then
|
||||
return true
|
||||
elseif shared:find(" " .. name .. " ", 1, true) then
|
||||
elseif shared:find(" " .. name .. " ") then
|
||||
return true
|
||||
else
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user