Lua API: update

gh-pages
rubenwardy 2015-02-06 19:16:43 +00:00
parent 155865d02a
commit ea0d3942b8
1 changed files with 1 additions and 3 deletions

View File

@ -2644,9 +2644,7 @@ and <code>minetest.auth_reload</code> call the authetification handler.</p>
check if a player can interact at a position.</li>
<li>This function should call the old version of itself if the position is not
protected by the mod.</li>
<li>
<p>Example:</p>
<pre><code>local old_is_protected = minetest.is_protected
<li>Example:<pre><code>local old_is_protected = minetest.is_protected
function minetest.is_protected(pos, name)
if mymod:position_protected_from(pos, name) then
return true