From 4dde37c191da7d177cab8d1b3b275cb36f751ba9 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Sun, 26 Aug 2018 22:16:28 -0400 Subject: [PATCH] remove "already that color" chat msg (some found it annoying) --- init.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 7d9cb7e..b812ccb 100644 --- a/init.lua +++ b/init.lua @@ -690,10 +690,7 @@ function unifieddyes.on_airbrush(itemstack, player, pointed_thing) end local oldidx = node.param2 - fdir - if idx == oldidx then - minetest.chat_send_player(player_name, "That node is already "..string.sub(painting_with, 5)..".") - return - end + if idx == oldidx then return end local name = def.airbrush_replacement_node or node.name