From 1fa7be5643bebfbba4d6f7cbfc05fb93a9f7d8d8 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Wed, 10 Oct 2012 23:27:37 -0400 Subject: [PATCH] testing... --- door_closet_oak.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/door_closet_oak.lua b/door_closet_oak.lua index 53ba161..eb0560c 100644 --- a/door_closet_oak.lua +++ b/door_closet_oak.lua @@ -115,7 +115,7 @@ minetest.register_node("homedecor:door_closet_oak_bottom_left", { end end if type(isprotect)=="function" then - pd = isprotect(5, pos, placer:get_player_name()) + pd = isprotect(5, pos, placer) if not pd then minetest.chat_send_player( placer:get_player_name(), "Sorry, someone owns that spot." ) end @@ -259,7 +259,7 @@ minetest.register_node("homedecor:door_closet_oak_bottom_right", { end end if type(isprotect)=="function" then - pd = isprotect(5, pos, placer:get_player_name()) + pd = isprotect(5, pos, placer) if not pd then minetest.chat_send_player( placer:get_player_name(), "Sorry, someone owns that spot." ) end