schoos76 / MizuMod

RimWorld MOD
The Unlicense
2 stars 3 forks source link

Exception on trying to trade in your own base #11

Closed schoos76 closed 6 years ago

schoos76 commented 6 years ago

Exception filling window for RimWorld.Dialog_Trade: System.NullReferenceException: Object reference not set to an instance of an object at RimWorld.TransferableUtility.SimulateTradeableTransfer (System.Collections.Generic.List1<Verse.Thing>,System.Collections.Generic.List1,System.Collections.Generic.List1<Verse.ThingCount>) <0x00126> at MizuMod.DaysWorthOfWaterCalculator.ApproxDaysWorthOfWaterLeftAfterTradeableTransfer (System.Collections.Generic.List1,System.Collections.Generic.List1<RimWorld.Tradeable>,RimWorld.IgnorePawnsInventoryMode) <0x00043> at MizuMod.MizuCaravanUtility.DaysWorthOfWater_Trade (System.Collections.Generic.List1,System.Collections.Generic.List1<RimWorld.Tradeable>) <0x00044> at MizuMod.Dialog_Trade_DoWindowContents.Prefix (System.Collections.Generic.List1,System.Collections.Generic.List`1) <0x00024> at (wrapper dynamic-method) RimWorld.Dialog_Trade.DoWindowContents_Patch1 (object,UnityEngine.Rect) <0x00160> at Verse.Window/cAnonStorey0.<>m0 (int) <0x00882>

Verse.Log:Error(String, Boolean) Verse.cAnonStorey0:<>m0(Int32) UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)