From f57c4709ac74d1e2b0b683bebc706a1a3e59db73 Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Sun, 25 Apr 2021 19:54:11 -0400 Subject: [PATCH] Comment out code that causes mobs to glitch push players in mcl_playerplus --- mods/PLAYER/mcl_playerplus/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/PLAYER/mcl_playerplus/init.lua b/mods/PLAYER/mcl_playerplus/init.lua index 13d136ecf..c346dca3c 100644 --- a/mods/PLAYER/mcl_playerplus/init.lua +++ b/mods/PLAYER/mcl_playerplus/init.lua @@ -168,11 +168,13 @@ minetest.register_globalstep(function(dtime) local c_x, c_y = unpack(player_collision(player)) + --[[ if player_velocity.x + player_velocity.y < .5 and c_x + c_y > 0 then local add_velocity = player.add_player_velocity or player.add_velocity add_velocity(player, {x = c_x, y = 0, z = c_y}) player_velocity = player:get_velocity() or player:get_player_velocity() end + ]]-- -- control head bone local pitch = - degrees(player:get_look_vertical())