Re: Please add table_type to LuaEntity and LuaPlayer
Posted: Sun Feb 18, 2018 3:09 pm
All entities have LuaEntity.prototype.type, it's just the LuaPlayer that doesn't have anything like that.Earendel wrote: I think it would be generally useful if tables that cause errors when properties are accessed could self-identify what they are. This could be especially useful when dealing with information passed across remote interfaces and old data in global tables. It's not that the situation is unworkable now, but it would be a nice improvement.