From 72bd8467df02c139cfa8b8f0fdb6709b1b740105 Mon Sep 17 00:00:00 2001 From: kaczy93 Date: Tue, 25 Jun 2024 09:19:46 +0200 Subject: [PATCH] Fix tiles window nre --- CentrED/UI/Windows/TilesWindow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CentrED/UI/Windows/TilesWindow.cs b/CentrED/UI/Windows/TilesWindow.cs index 1e3e097..5a7f598 100644 --- a/CentrED/UI/Windows/TilesWindow.cs +++ b/CentrED/UI/Windows/TilesWindow.cs @@ -1,4 +1,4 @@ -using CentrED.IO; +using CentrED.IO; using CentrED.IO.Models; using CentrED.Map; using ClassicUO.Assets; @@ -390,7 +390,7 @@ private TileInfo StaticInfo(int index) } ref var indexEntry = ref ArtLoader.Instance.GetValidRefEntry(index + 0x4000); - var spriteInfo = CEDGame.MapManager.Arts.GetLand((uint)(index + indexEntry.AnimOffset)); + var spriteInfo = CEDGame.MapManager.Arts.GetArt((uint)(index + indexEntry.AnimOffset)); var realBounds = CEDGame.MapManager.Arts.GetRealArtBounds((uint)index); var name = TileDataLoader.Instance.StaticData[index].Name; return new