From b6aabfc8530d5cae4a47784554861db2fc3e8a49 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Wed, 20 Jan 2021 16:20:45 +0100 Subject: [PATCH] Fix #992 --- mods/ENTITIES/mcl_burning/engine.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_burning/engine.lua b/mods/ENTITIES/mcl_burning/engine.lua index d7728f8971..1c9f4f565a 100644 --- a/mods/ENTITIES/mcl_burning/engine.lua +++ b/mods/ENTITIES/mcl_burning/engine.lua @@ -12,7 +12,7 @@ function mcl_burning.get(obj, datatype, name) return meta["get_" .. datatype](meta, "mcl_burning:" .. name) else local luaentity = obj:get_luaentity() - return luaentity["mcl_burning_" .. name] or mcl_burning.get_default(datatype) + return luaentity and luaentity["mcl_burning_" .. name] or mcl_burning.get_default(datatype) end end