Show the new tool level in the level-up chat message and from

* backported 9e02edb5e2
* upload screenshot
master
mckaygerhard 2023-06-11 14:40:21 -04:00
parent d7e81d2e2e
commit 1abc4906a9
2 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ function toolranks.new_afteruse(itemstack, user, node, digparams)
toolranks.colors.white
)
minetest.chat_send_player(pname, levelup_text)
minetest.chat_send_player(pname, levelup_text .. " "..lastlevel.." -> "..level)
minetest.sound_play("toolranks_levelup", {
to_player = pname,

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB