master #5

Merged
epCode merged 255 commits from VoxeLibre/VoxeLibre:master into master 2021-02-02 23:20:01 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit b6aabfc853 - Show all commits

View File

@ -12,7 +12,7 @@ function mcl_burning.get(obj, datatype, name)
return meta["get_" .. datatype](meta, "mcl_burning:" .. name) return meta["get_" .. datatype](meta, "mcl_burning:" .. name)
else else
local luaentity = obj:get_luaentity() 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
end end