lilwhitemouse / RimWorld-LWM.DeepStorage

A mod for the game RimWorld that has a set of Deep Storage Units that allow storing more than one item at a location.
GNU General Public License v3.0
29 stars 36 forks source link

Old stacking graphic option using smaller item sizes again #150

Closed ThisIsSP4RTAN closed 5 months ago

ThisIsSP4RTAN commented 5 months ago

A couple of years ago you provided a fix for this but it seems 1.5 broke this

image ceWIAMw

ThisIsSP4RTAN commented 5 months ago

Maybe this has something to do with it?

Error in static constructor of LWM.DeepStorage.ModInit: System.TypeInitializationException: The type initializer for 'LWM.DeepStorage.ModInit' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method static System.Reflection.MethodBase LWM.DeepStorage.Patch_Building_Storage_Gizmos::TargetMethod() ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object [Ref 33A168CF] at LWM.DeepStorage.Patch_Building_Storage_Gizmos.TargetMethod () [0x0001a] in <bb31286b4b274b6fae00ce6555b5b89a>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <eae584ce26bc40229c1b1aa476bfa589>:0 --- End of inner exception stack trace ---

ThisIsSP4RTAN commented 5 months ago

Never mind! this fixed it :)