mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-25 00:32:59 +00:00
Bugfix new marker system: properly check that the lua entity is a thing
Missing () Might fix #88, but needs testing.
This commit is contained in:
parent
554bc86b3d
commit
58dd3ea875
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ local function create(player_name, pos, display_number)
|
|||
end
|
||||
|
||||
local function delete(entity)
|
||||
if not entity.get_luaentity then return end -- Ensure the entity is still valid
|
||||
if not entity.get_luaentity() then return end -- Ensure the entity is still valid
|
||||
|
||||
local player_name = entity:get_luaentity().player_name
|
||||
local display_number = entity:get_luaentity().display_number
|
||||
|
|
Loading…
Reference in a new issue