Skip to content

Commit

Permalink
Rename core to minetest (#2552)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaoqi authored and sfan5 committed Dec 29, 2019
1 parent 2583325 commit 1082466
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ allow_defined_top = true

read_globals = {
"DIR_DELIM",
"minetest", "core",
"minetest",
"dump",
"vector",
"VoxelManip", "VoxelArea",
Expand Down
2 changes: 1 addition & 1 deletion mods/game_commands/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1082466

Please sign in to comment.