Rename core to minetest (#2552)

This commit is contained in:
Zaoqi 2019-12-29 19:28:30 +08:00 committed by sfan5
parent 258332578a
commit 1082466796
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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