remove extra check innecesary, fix crash from previous commit
* if no data, then is initialized again.. so must be avoid checks there
This commit is contained in:
parent
12c12807d3
commit
3a8a24b32f
@ -17,7 +17,6 @@ end
|
||||
|
||||
-- obtain player data cheats, improved respect beowulf with missing checks and methods
|
||||
local function get_player_data(name)
|
||||
if not is_player(player) then return nil end
|
||||
local player = minetest.get_player_by_name(name)
|
||||
if not player_data[name] then
|
||||
player_data[name] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user