mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Fix #992
This commit is contained in:
parent
0e0628bcc5
commit
b6aabfc853
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue