mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 22:22:25 +01:00
Rename core
to minetest
(#2552)
This commit is contained in:
parent
258332578a
commit
1082466796
@ -3,7 +3,7 @@ allow_defined_top = true
|
|||||||
|
|
||||||
read_globals = {
|
read_globals = {
|
||||||
"DIR_DELIM",
|
"DIR_DELIM",
|
||||||
"minetest", "core",
|
"minetest",
|
||||||
"dump",
|
"dump",
|
||||||
"vector",
|
"vector",
|
||||||
"VoxelManip", "VoxelArea",
|
"VoxelManip", "VoxelArea",
|
||||||
|
@ -13,7 +13,7 @@ minetest.register_chatcommand("killme", {
|
|||||||
player:set_hp(0)
|
player:set_hp(0)
|
||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
for _, callback in pairs(core.registered_on_respawnplayers) do
|
for _, callback in pairs(minetest.registered_on_respawnplayers) do
|
||||||
if callback(player) then
|
if callback(player) then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user