Fix another crash bug

This commit is contained in:
GunshipPenguin 2015-05-22 21:22:59 -07:00
parent 76bcf4e44c
commit 236b6d851c

View File

@ -14,7 +14,12 @@ local end_grace = function()
end
local drop_player_items = function(playerName, clear) --If clear != nil, don't drop items, just clear inventory
if not playerName then
return
end
local player = minetest.get_player_by_name(playerName)
if not player then
return
end