From 056d4a3dde7ac162755d3e21353ce2c7c2a2a4cd Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Wed, 24 Mar 2021 19:28:45 +0100 Subject: [PATCH] Fix crash --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index b6169fa..f22ba6b 100644 --- a/init.lua +++ b/init.lua @@ -2810,6 +2810,7 @@ end) core.register_on_dieplayer(function(player) local name = player:get_player_name() local data = pdata[name] + if not data then return end data.bag_size = nil data.bag:set_list("main", {})