Haulables fix, and Mergeables fix #3
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -212,7 +212,7 @@ public class Haulables : ClassWithFishPatches
|
|||||||
instance.haulables.Add(t);
|
instance.haulables.Add(t);
|
||||||
cache.contains = true;
|
cache.contains = true;
|
||||||
cache.ShouldRefreshNow = false;
|
cache.ShouldRefreshNow = false;
|
||||||
//HaulablesCache.Get[new(t, instance)] = cache;
|
HaulablesCache.Get[new(t, instance)] = cache;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -237,7 +237,7 @@ public class Haulables : ClassWithFishPatches
|
|||||||
instance.haulables.Remove(t);
|
instance.haulables.Remove(t);
|
||||||
cache.contains = false;
|
cache.contains = false;
|
||||||
cache.ShouldRefreshNow = false;
|
cache.ShouldRefreshNow = false;
|
||||||
//HaulablesCache.Get[new(t, instance)] = cache;
|
HaulablesCache.Get[new(t, instance)] = cache;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ public class Mergeables : ClassWithFishPatches
|
|||||||
instance.mergeables.Remove(t);
|
instance.mergeables.Remove(t);
|
||||||
cache.contains = false;
|
cache.contains = false;
|
||||||
cache.ShouldRefreshNow = false;
|
cache.ShouldRefreshNow = false;
|
||||||
//MergeablesCache.Get[new(t, instance)] = cache;
|
MergeablesCache.Get[new(t, instance)] = cache;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -35,7 +35,7 @@ public class Mergeables : ClassWithFishPatches
|
|||||||
instance.mergeables.Add(t);
|
instance.mergeables.Add(t);
|
||||||
cache.contains = true;
|
cache.contains = true;
|
||||||
cache.ShouldRefreshNow = false;
|
cache.ShouldRefreshNow = false;
|
||||||
//MergeablesCache.Get[new(t, instance)] = cache;
|
MergeablesCache.Get[new(t, instance)] = cache;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -59,7 +59,7 @@ public class Mergeables : ClassWithFishPatches
|
|||||||
cache.contains = true;
|
cache.contains = true;
|
||||||
cache.ShouldRefreshNow = false;
|
cache.ShouldRefreshNow = false;
|
||||||
|
|
||||||
//MergeablesCache.Get[new(t, instance)] = cache;
|
MergeablesCache.Get[new(t, instance)] = cache;
|
||||||
}
|
}
|
||||||
public static CodeInstructions Transpiler(CodeInstructions CodeInstructions)
|
public static CodeInstructions Transpiler(CodeInstructions CodeInstructions)
|
||||||
=> Reflection.MakeReplacementCall(CheckAdd);
|
=> Reflection.MakeReplacementCall(CheckAdd);
|
||||||
@@ -82,7 +82,7 @@ public class Mergeables : ClassWithFishPatches
|
|||||||
cache.contains = false;
|
cache.contains = false;
|
||||||
cache.ShouldRefreshNow = false;
|
cache.ShouldRefreshNow = false;
|
||||||
|
|
||||||
//MergeablesCache.Get[new(t, instance)] = cache;
|
MergeablesCache.Get[new(t, instance)] = cache;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public static CodeInstructions Transpiler(CodeInstructions CodeInstructions)
|
public static CodeInstructions Transpiler(CodeInstructions CodeInstructions)
|
||||||
|
|||||||
Reference in New Issue
Block a user