From 5ce1fd6821539f081bff8cbd51aa8556cbbba7ee Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Thu, 7 Jan 2021 14:42:19 +0100 Subject: [PATCH] Rise XP collection distance --- mods/HUD/mcl_experience/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/HUD/mcl_experience/init.lua b/mods/HUD/mcl_experience/init.lua index 9a8378b0..505731eb 100644 --- a/mods/HUD/mcl_experience/init.lua +++ b/mods/HUD/mcl_experience/init.lua @@ -306,7 +306,7 @@ local function xp_step(self, dtime) return end collector = minetest.get_player_by_name(self.collector) - if collector and collector:get_hp() > 0 and vector.distance(self.object:get_pos(),collector:get_pos()) < 5 then + if collector and collector:get_hp() > 0 and vector.distance(self.object:get_pos(),collector:get_pos()) < 7.25 then self.object:set_acceleration(vector.new(0,0,0)) self.disable_physics(self) --get the variables