mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 14:42:24 +01:00
Fix missing rename
This commit is contained in:
parent
0d85e826f4
commit
806fba6448
@ -164,8 +164,8 @@ void ScriptApiEnv::player_event(ServerActiveObject *player, const std::string &t
|
|||||||
if (player == NULL)
|
if (player == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Get minetest.registered_playerevents
|
// Get core.registered_playerevents
|
||||||
lua_getglobal(L, "minetest");
|
lua_getglobal(L, "core");
|
||||||
lua_getfield(L, -1, "registered_playerevents");
|
lua_getfield(L, -1, "registered_playerevents");
|
||||||
|
|
||||||
// Call callbacks
|
// Call callbacks
|
||||||
|
Loading…
Reference in New Issue
Block a user