From e058b6e32b3777595e3332b39984aef2cdf2a45a Mon Sep 17 00:00:00 2001 From: Exter-N Date: Sun, 19 Feb 2023 05:03:34 +0100 Subject: [PATCH] Fix wrong error message --- Penumbra.GameData/Files/ShpkFile.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Penumbra.GameData/Files/ShpkFile.cs b/Penumbra.GameData/Files/ShpkFile.cs index 12192a43..ebcd2e58 100644 --- a/Penumbra.GameData/Files/ShpkFile.cs +++ b/Penumbra.GameData/Files/ShpkFile.cs @@ -74,7 +74,7 @@ public partial class ShpkFile : IWritable } if (samplers.Count != textures.Count || !samplers.All(pair => textures.TryGetValue(pair.Key, out var texName) && pair.Value == texName)) { - throw new ArgumentException($"The supplied blob has inconsistent shader and texture allocation."); + throw new ArgumentException($"The supplied blob has inconsistent sampler and texture allocation."); } } _blob = value;