From ba9eaf911c198c83ea0695fa8c329253ddd164d3 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Thu, 26 May 2022 15:27:20 +0200 Subject: [PATCH] regsister -> register --- mods/CORE/mcl_worlds/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/CORE/mcl_worlds/init.lua b/mods/CORE/mcl_worlds/init.lua index 7feab7317..0065c0d61 100644 --- a/mods/CORE/mcl_worlds/init.lua +++ b/mods/CORE/mcl_worlds/init.lua @@ -136,7 +136,7 @@ minetest.register_on_joinplayer(function(player) last_dimension[player] = pos_to_dimension(player:get_pos()) end) -minetest.regsister_on_leaveplayer(function(player) +minetest.register_on_leaveplayer(function(player) last_dimension[player] = nil end)