# Difference in inventory display between 3.5.8 and 3.6.0

**URL:** <https://forum.vassalengine.org/t/difference-in-inventory-display-between-3-5-8-and-3-6-0/73194>\
**Category:** Technical Support & Bugs\
**Created:** [December 2, 2021, 4:14pm UTC](https://forum.vassalengine.org/t/difference-in-inventory-display-between-3-5-8-and-3-6-0/73194 "2021-12-02T16:14:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![slimy](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/slimy/32/4448_2.png) [@slimy](https://forum.vassalengine.org/u/slimy)\
**Post date:** [December 2, 2021, 4:14pm UTC](https://forum.vassalengine.org/t/difference-in-inventory-display-between-3-5-8-and-3-6-0/73194/1 "2021-12-02T16:14:20Z")

</div>

Extra nulls appear. Examples follow for the Westphalia module. Just start a new game and open up some nodes in the inventory to see.

 ![2021-12-02_16-03](https://forum.vassalengine.org/uploads/default/original/2X/d/d5dda4c35f68637902a40b0eb3f530daa54d1979.png)  
 ![2021-12-02_16-11](https://forum.vassalengine.org/uploads/default/original/2X/e/e154f6df93e954ffbe937aa90bcdefb7c011202a.png)

**EDIT:** Anyway I did remind myself how this inventory works so I should explain that so you don’t have to work it out.

Pieces may have 4 inventory relevant attributes:  
InventoryIncluded (set to true if we want it in the inventory)

and the three layers from top to bottom:  
InventoryOwnership (i.e. which side)  
InventoryType (army, unit, debt etc…)  
InventoryLocation

The problem is that not all of these make sense in all cases. For example debt and prestige don’t have a location so that attribute is left blank.  
The same is true for units (except for French units).  
When a piece does have a location it is usually either a place on the map on a player’s hand (but for a French unit it is either unassigned or a theater of war).

So before 3.6.0 if one of these fields was not set, it simply floated at the first level where it was set. Now in 3.6.0 there seems to be a default value of “null” which is not what I wanted and it is creating these extra unwanted layers.

---

<div class="post-metadata">

**Author:** ![Cattlesquat](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/cattlesquat/32/241_2.png) [@Cattlesquat](https://forum.vassalengine.org/u/Cattlesquat)\
**Post date:** [December 3, 2021, 4:53pm UTC](https://forum.vassalengine.org/t/difference-in-inventory-display-between-3-5-8-and-3-6-0/73194/2 "2021-12-03T16:53:32Z")

</div>

Corrected for 3.6.1

Brian

---

<div class="post-metadata">

**Author:** ![slimy](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/slimy/32/4448_2.png) [@slimy](https://forum.vassalengine.org/u/slimy)\
**Post date:** [December 3, 2021, 5:11pm UTC](https://forum.vassalengine.org/t/difference-in-inventory-display-between-3-5-8-and-3-6-0/73194/3 "2021-12-03T17:11:37Z")

</div>

Thank you so much. (Hmm the forum insists I have to say something longer than “thank you” so thanks again.)

---

<div class="post-metadata">

**Author:** ![Cattlesquat](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/cattlesquat/32/241_2.png) [@Cattlesquat](https://forum.vassalengine.org/u/Cattlesquat)\
**Post date:** [December 3, 2021, 8:30pm UTC](https://forum.vassalengine.org/t/difference-in-inventory-display-between-3-5-8-and-3-6-0/73194/4 "2021-12-03T20:30:30Z")

</div>

Haha yes it made me sign my name to my post 😉
