add item that will reload this mod

This commit is contained in:
whosit 2025-04-01 12:53:11 +03:00
parent 1fd42583dd
commit 9e8fabc6a1

View File

@ -134,3 +134,14 @@ live.register_on_joinplayer(
end
end
)
live.register_tool(
MODNAME .. ":reloader",
{
on_use = function(itemstack, user, pointed_thing)
core.chat_send_all("player_dummy reloading...")
live.load_module("player_dummy", "module")
end,
}
)