mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-27 19:35:24 +01:00
Rename minetest.* to core.* in devtest
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
core.register_on_joinplayer(function(player)
|
||||
local cb = function(player)
|
||||
if not player or not player:is_player() then
|
||||
return
|
||||
end
|
||||
minetest.chat_send_player(player:get_player_name(), "This is the \"Development Test\" [devtest], meant only for testing and development.")
|
||||
core.chat_send_player(player:get_player_name(), "This is the \"Development Test\" [devtest], meant only for testing and development.")
|
||||
end
|
||||
minetest.after(2.0, cb, player)
|
||||
core.after(2.0, cb, player)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user