mirror of
https://github.com/t-affeldt/climate_api.git
synced 2025-04-30 08:21:46 -04:00
Deprecated: get_player_velocity
This commit is contained in:
parent
91d249fcbc
commit
9898f71860
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ local function parse_config(player, particles)
|
|||
|
||||
-- correct spawn coordinates to adjust for player movement
|
||||
if config.adjust_for_velocity then
|
||||
local velocity = player:get_player_velocity()
|
||||
local velocity = player:get_velocity()
|
||||
config.minpos = vector.add(config.minpos, velocity)
|
||||
config.maxpos = vector.add(config.maxpos, velocity)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue