Skip to content

Commit

Permalink
missed message because of endless line
Browse files Browse the repository at this point in the history
  • Loading branch information
SwissalpS authored Jun 29, 2024
1 parent bfbb43a commit 2883d19
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion channelcopier.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ minetest.register_tool("digistuff:channelcopier",{
local stackmeta = itemstack:get_meta()
stackmeta:set_string("channel",channel)
stackmeta:set_string("description", 'Digilines Channel Copier, set to: "' .. channel .. '"')
if player and player:get_player_name() then minetest.chat_send_player(player:get_player_name(),"Digilines channel copier set to "..minetest.colorize("#00FFFF",channel)..". Click another node to paste this channel there.") end
if player and player:get_player_name() then
minetest.chat_send_player(player:get_player_name(),
'Digilines channel copier set to "'
.. minetest.colorize("#00FFFF", channel)
.. '". Click another node to paste this channel there.'
)
end
end
else
if minetest.is_protected(pos,name) and not minetest.check_player_privs(name,{protection_bypass=true}) then
Expand Down

0 comments on commit 2883d19

Please sign in to comment.