diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-08-03 09:31:05 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-08-03 09:31:05 -0400 |
commit | 2fa93b219eadfcdcf8f1d472aad046fc62d5b99d (patch) | |
tree | cff2e96e78cd89aa965976553d2ff8989b5a02b5 /unifieddyes | |
parent | 76594f4bd5f825eaf1245965e2c0933bec47320d (diff) | |
download | dreambuilder_modpack-2fa93b219eadfcdcf8f1d472aad046fc62d5b99d.tar dreambuilder_modpack-2fa93b219eadfcdcf8f1d472aad046fc62d5b99d.tar.gz dreambuilder_modpack-2fa93b219eadfcdcf8f1d472aad046fc62d5b99d.tar.bz2 dreambuilder_modpack-2fa93b219eadfcdcf8f1d472aad046fc62d5b99d.tar.xz dreambuilder_modpack-2fa93b219eadfcdcf8f1d472aad046fc62d5b99d.zip |
update castles, cottages, digistuff, gloopblocks, locks,
maptools, mesecons, pipeworks, technic, unified inventory,
unified dyes, and xban2
Diffstat (limited to 'unifieddyes')
-rw-r--r-- | unifieddyes/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unifieddyes/init.lua b/unifieddyes/init.lua index 51cc671..2cf465b 100644 --- a/unifieddyes/init.lua +++ b/unifieddyes/init.lua @@ -564,7 +564,7 @@ function unifieddyes.on_use(itemstack, player, pointed_thing) local stackname = itemstack:get_name() local playername = player:get_player_name() - if pointed_thing and pointed_thing.type == "node" then + if pointed_thing and pointed_thing.type == "node" and unifieddyes.select_node(pointed_thing) then if minetest.is_protected(unifieddyes.select_node(pointed_thing), playername) and not minetest.check_player_privs(playername, "protection_bypass") then minetest.chat_send_player(playername, "Sorry, someone else owns that spot.") |