From b7cd6dfe2d992aec6dc48acd9b36860dd4dc129c Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Tue, 31 Oct 2023 11:29:42 +0100 Subject: [PATCH] Fix log spam on nonexistent models. --- Glamourer/State/FunModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Glamourer/State/FunModule.cs b/Glamourer/State/FunModule.cs index ac99e1a..9f30cac 100644 --- a/Glamourer/State/FunModule.cs +++ b/Glamourer/State/FunModule.cs @@ -98,7 +98,7 @@ public unsafe class FunModule : IDisposable if (_config.DisableFestivals == 0 && _festivalSet != null || _codes.EnabledWorld && actor.Index != 0) { - armor = actor.Model.GetArmor(slot); + armor = actor.Model.Valid ? actor.Model.GetArmor(slot) : actor.GetArmor(slot); } else {