remove "already that color" chat msg (some found it annoying)

This commit is contained in:
Vanessa Dannenberg 2018-08-26 22:16:28 -04:00
parent c9d7733d87
commit 4dde37c191

@ -690,10 +690,7 @@ function unifieddyes.on_airbrush(itemstack, player, pointed_thing)
end end
local oldidx = node.param2 - fdir local oldidx = node.param2 - fdir
if idx == oldidx then if idx == oldidx then return end
minetest.chat_send_player(player_name, "That node is already "..string.sub(painting_with, 5)..".")
return
end
local name = def.airbrush_replacement_node or node.name local name = def.airbrush_replacement_node or node.name