1
0
Fork 0

Localize c_x and c_y in mcl_playerplus

This commit is contained in:
Lizzy Fleckenstein 2021-04-12 14:54:14 +02:00
parent c0a31f0e9c
commit ab0b647b26
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ minetest.register_globalstep(function(dtime)
for _,player in pairs(get_connected_players()) do
c_x, c_y = unpack(player_collision(player))
local 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
--minetest.chat_send_player(player:get_player_name(), "pushed at " .. c_x + c_y .. " parsecs.")