/** {@inheritDoc} */ protected void writeChildren( XMLStreamWriter out, Player player, boolean showAll, boolean toSavedGame) throws XMLStreamException { super.writeChildren(out, player, showAll, toSavedGame); if (goodsContainer != null) { goodsContainer.toXML(out, player, showAll, toSavedGame); } }