1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-22 16:10:18 +01:00

testing...

This commit is contained in:
Vanessa Ezekowitz 2012-10-10 23:27:37 -04:00
parent 340cc7dfb1
commit 1fa7be5643

View File

@ -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