diff --git a/Confuser.Core/API/APIStore.cs b/Confuser.Core/API/APIStore.cs index be173a2..b024aeb 100644 --- a/Confuser.Core/API/APIStore.cs +++ b/Confuser.Core/API/APIStore.cs @@ -36,7 +36,7 @@ namespace Confuser.Core.API { public IDataStore GetStore(MethodDef method) { for (int i = dataStores.Count - 1; i >= 0; i--) { var list = dataStores[i]; - for (int j = list.Count - 1; j >= 0; i--) { + for (int j = list.Count - 1; j >= 0; j--) { if (list[j].IsUsable(method)) return list[j]; }