Disable mcl_playerplus random check that moves players randomly
This commit is contained in:
parent
d4db27f0e1
commit
d063db751c
|
@ -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
|
||||
|
||||
--[[
|
||||
_ _ _
|
||||
|
|
Loading…
Reference in New Issue