mirror of
https://github.com/mt-mods/unifieddyes.git
synced 2024-12-24 09:40:29 +01:00
remove "already that color" chat msg (some found it annoying)
This commit is contained in:
parent
c9d7733d87
commit
4dde37c191
5
init.lua
5
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user