huh, weird. evidently we need all the checks ever

ref #88
This commit is contained in:
Starbeamrainbowlabs 2023-01-11 02:32:01 +00:00
parent 97bb896829
commit cfc1fe3639
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -53,7 +53,7 @@ local function create(player_name, pos, display_number)
end end
local function delete(entity) local function delete(entity)
if not entity:get_luaentity() then return end -- Ensure the entity is still valid if not entity.get_luaentity or not entity:get_luaentity() then return end -- Ensure the entity is still valid
local player_name = entity:get_luaentity().player_name local player_name = entity:get_luaentity().player_name
local display_number = entity:get_luaentity().display_number local display_number = entity:get_luaentity().display_number