Mhburg / AwsomeInventory

This is a spiritual successor of RPG Inventory. It offers a fine grain control on your inventory and a RPG style interface.
GNU Lesser General Public License v3.0
6 stars 10 forks source link

Cannot drop minified thing from inventory #20

Closed Mhburg closed 4 years ago

Mhburg commented 4 years ago

Verse.Pawn_InventoryTracker container tried to drop Turret_MiniTurret17187 which it didn't contain. Verse.Log:Error(String, Boolean) Verse.ThingOwner:TryDrop(Thing, IntVec3, Map, ThingPlaceMode, Thing&, Action2, Predicate1) Verse.ThingOwner1:TryDrop(Thing, IntVec3, Map, ThingPlaceMode, Thing&, Action2, Predicate`1) RimWorld.ITab_Pawn_Gear:InterfaceDrop(Thing) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) AwesomeInventory.UI.DrawGearTabWorker:DrawThingRow(Pawn, Single&, Single, Thing) (at D:\Modding\AwesomeInventory\src\V1.1\Common\GearTab\DrawGearTabWorker.cs:619) AwesomeInventory.UI.DrawGearTabWorker:DrawJealous(Pawn, Rect, Boolean) (at D:\Modding\AwesomeInventory\src\V1.1\Common\GearTab\DrawGearTabWorker.cs:249) AwesomeInventory.UI.AwesomeInventoryTabBase:FillTab() (at D:\Modding\AwesomeInventory\src\V1.1\Common\GearTab\AwesomeInventoryTabBase.cs:217) Verse.<>c__DisplayClass14_0:b__0() Verse.ImmediateWindow:DoWindowContents(Rect) Verse.Window:InnerWindowOnGUI(Int32) UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle) (at C:\buildslave\unity\build\Modules\IMGUI\GUI.cs:1643)

Mhburg commented 4 years ago

Fixed in 952e1a6935740ffef432a4511cff16d3b011ad2d