mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 14:16:06 +02:00
Sent last global variables' patchs
- There is, from now on, no more known global variables error in the repository! (not 100% guaranteed)
This commit is contained in:
@ -58,7 +58,7 @@ chesttools.may_use = function( pos, player )
|
||||
local meta = minetest.get_meta( pos );
|
||||
local owner = meta:get_string( 'owner' )
|
||||
-- the owner can access the chest
|
||||
if( onwer == name or owner == "" ) then
|
||||
if( owner == name or owner == "" ) then
|
||||
return true;
|
||||
end
|
||||
-- the shared function only kicks in if the area is protected
|
||||
|
Reference in New Issue
Block a user