From 7e2d094ba59a22a1aaf6ff27577f54e959319e70 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Tue, 14 Jan 2025 21:06:57 -0500 Subject: [PATCH] Remove now-unused GetItem method --- SabreTools.DatFiles/ItemDictionaryDB.cs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/SabreTools.DatFiles/ItemDictionaryDB.cs b/SabreTools.DatFiles/ItemDictionaryDB.cs index bb506f89..a37db95a 100644 --- a/SabreTools.DatFiles/ItemDictionaryDB.cs +++ b/SabreTools.DatFiles/ItemDictionaryDB.cs @@ -348,24 +348,6 @@ namespace SabreTools.DatFiles } } - /// - /// Get an item based on the index - /// - public DatItem? GetItem(long index) - { -#if NET40_OR_GREATER || NETCOREAPP - if (!_items.TryGetValue(index, out var datItem)) - return null; - - return datItem; -#else - if (!_items.ContainsKey(index)) - return null; - - return _items[index]; -#endif - } - /// /// Get all items and their indicies ///