From ea0d3942b8fa2d30da2074c9b01f681e968442ad Mon Sep 17 00:00:00 2001
From: rubenwardy
Date: Fri, 6 Feb 2015 19:16:43 +0000
Subject: [PATCH] Lua API: update
---
lua_api.html | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lua_api.html b/lua_api.html
index 7fb0921..0c9e9cc 100644
--- a/lua_api.html
+++ b/lua_api.html
@@ -2644,9 +2644,7 @@ and minetest.auth_reload
call the authetification handler.
check if a player can interact at a position.
This function should call the old version of itself if the position is not
protected by the mod.
-
-Example:
-local old_is_protected = minetest.is_protected
+Example:local old_is_protected = minetest.is_protected
function minetest.is_protected(pos, name)
if mymod:position_protected_from(pos, name) then
return true