Fix crash when obj tele's Nether→Overworld @ rain

This commit is contained in:
Wuzzy 2018-01-26 19:37:00 +01:00
parent 58b9c3dbf5
commit c2d0414255
3 changed files with 3 additions and 2 deletions

View file

@ -91,7 +91,7 @@ end
-- it is costly to generate many particles around player so goal is focus mainly on front view.
mcl_weather.get_random_pos_by_player_look_dir = function(player)
local look_dir = player:get_look_dir()
local player_pos = player:getpos()
local player_pos = player:get_pos()
local random_pos_x = 0
local random_pos_y = 0