Browse Source

Rename `core` to `minetest` (#2552)

pull/2363/head
Zaoqi 1 month ago
parent
commit
1082466796
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      .luacheckrc
  2. +1
    -1
      mods/game_commands/init.lua

+ 1
- 1
.luacheckrc View File

@@ -3,7 +3,7 @@ allow_defined_top = true

read_globals = {
"DIR_DELIM",
"minetest", "core",
"minetest",
"dump",
"vector",
"VoxelManip", "VoxelArea",

+ 1
- 1
mods/game_commands/init.lua View File

@@ -13,7 +13,7 @@ minetest.register_chatcommand("killme", {
player:set_hp(0)
return true
else
for _, callback in pairs(core.registered_on_respawnplayers) do
for _, callback in pairs(minetest.registered_on_respawnplayers) do
if callback(player) then
return true
end

Loading…
Cancel
Save