remove extra check innecesary, fix crash from previous commit

* if no data, then is initialized again.. so must be avoid checks there
master
mckayshirou 2023-08-07 03:38:41 -04:00
parent 12c12807d3
commit 3a8a24b32f
1 changed files with 0 additions and 1 deletions

View File

@ -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] = {