mirror of
https://github.com/minetest-mods/maptools.git
synced 2025-07-05 00:00:23 +02:00
update drop message function
update the drop message function so it can be used directly
This commit is contained in:
2
init.lua
2
init.lua
@ -20,7 +20,7 @@ maptools.intllib = S
|
||||
|
||||
local modpath = minetest.get_modpath("maptools")
|
||||
|
||||
maptools.msg = function(player)
|
||||
maptools.drop_msg = function(itemstack, player)
|
||||
local name = player:get_player_name()
|
||||
minetest.chat_send_player(name, S("[maptools] tools/nodes do not drop!"))
|
||||
end
|
||||
|
Reference in New Issue
Block a user