From 2bd24120e976256c259bc21f60249342fffe384f Mon Sep 17 00:00:00 2001 From: the-real-herowl Date: Sat, 25 May 2024 11:57:05 +0000 Subject: [PATCH] Stalker texture building fix (#4322) Added a defensive check for stalker texture building. Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4322 --- mods/ENTITIES/mobs_mc/stalker.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mobs_mc/stalker.lua b/mods/ENTITIES/mobs_mc/stalker.lua index 0c9655006..69fad180a 100644 --- a/mods/ENTITIES/mobs_mc/stalker.lua +++ b/mods/ENTITIES/mobs_mc/stalker.lua @@ -32,7 +32,7 @@ local function get_texture(self) end end end - if not texture then + if not texture or texture == "" then texture = "vl_stalker_default.png" end texture = "([combine:16x24:0,0=" .. texture .. ":0,16=" .. texture .. texture_suff