1
0
Fork 0

Disable mcl_playerplus random check that moves players randomly

This commit is contained in:
jordan4ibanez 2021-04-14 17:26:20 -04:00
parent d4db27f0e1
commit d063db751c
1 changed files with 3 additions and 3 deletions

View File

@ -158,10 +158,10 @@ minetest.register_globalstep(function(dtime)
c_x, c_y = unpack(player_collision(player)) 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.") --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}) --player:add_velocity({x=c_x, y=0, z=c_y})
end --end
--[[ --[[
_ _ _ _ _ _