From d063db751c1657c367f2277b24a5aa51a8d90fa3 Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Wed, 14 Apr 2021 17:26:20 -0400 Subject: [PATCH] Disable mcl_playerplus random check that moves players randomly --- mods/PLAYER/mcl_playerplus/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/PLAYER/mcl_playerplus/init.lua b/mods/PLAYER/mcl_playerplus/init.lua index de346256fa..6dbf49f7f9 100644 --- a/mods/PLAYER/mcl_playerplus/init.lua +++ b/mods/PLAYER/mcl_playerplus/init.lua @@ -158,10 +158,10 @@ minetest.register_globalstep(function(dtime) c_x, c_y = unpack(player_collision(player)) - if player:get_velocity().x + player:get_velocity().y < .5 and c_x + c_y > 0 then + --if player:get_velocity().x + player:get_velocity().y < .5 and c_x + c_y > 0 then --minetest.chat_send_player(player:get_player_name(), "pushed at " .. c_x + c_y .. " parsecs.") - player:add_velocity({x=c_x, y=0, z=c_y}) - end + --player:add_velocity({x=c_x, y=0, z=c_y}) + --end --[[ _ _ _