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:
parent
340cc7dfb1
commit
1fa7be5643
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user