forked from VoxeLibre/VoxeLibre
Comment out code that causes mobs to glitch push players in mcl_playerplus
This commit is contained in:
parent
b6c9a1c423
commit
f57c4709ac
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue