Closed sway2020 closed 4 years ago
I am not patching Vehicle's RenderInstance. you didn't see the commented out//[HarmonyPatch()]
I should really remove that file. that file was just for experimenting.
Even if I did BTW prefixes are not incompatible. you can use [HarmonyAfter/Before(ID)]
Sorry for bothering you. I still have a lot to learn....
I noticed that Node Controller and my mod(Gravitative Cable Car) patch the same method (Vehicle's RenderInstance). My mod is poorly written as it is more like a proof-of-concept and I didn't really know how to use transpiler. Will node controller ever modify the behavior of cable cars? If not, is it possible to add a simple vehicle type check in node controller's prefix patch to avoid incompatibility? Thanks.
https://github.com/sway2020/GravitativeCableCar/blob/b1203a7eadf24f53b779b6ad2aab228ef901b1bc/GravitativeCableCar.cs#L69