aboutsummaryrefslogtreecommitdiffstats
path: root/inc/Inventory.inc
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2016-05-08 13:44:29 +0200
committerpiernov <piernov@piernov.org>2016-05-08 13:44:29 +0200
commit90e9e78500e09447cc3c26d129348eb3f0d2433d (patch)
treeae732ae51a8f7d1fab6f611b3a7e8ec287c3fae8 /inc/Inventory.inc
parent3795b462a30a1942f5ebac3105e72824acbd1a87 (diff)
parent2de30b863b6f78c10a1fed54d229dabea7383b97 (diff)
downloadcandybox-90e9e78500e09447cc3c26d129348eb3f0d2433d.tar.gz
candybox-90e9e78500e09447cc3c26d129348eb3f0d2433d.tar.bz2
candybox-90e9e78500e09447cc3c26d129348eb3f0d2433d.tar.xz
candybox-90e9e78500e09447cc3c26d129348eb3f0d2433d.zip
Merge branch 'piernov' into alexichi
Diffstat (limited to 'inc/Inventory.inc')
-rw-r--r--inc/Inventory.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/Inventory.inc b/inc/Inventory.inc
index 747c4db..751f728 100644
--- a/inc/Inventory.inc
+++ b/inc/Inventory.inc
@@ -65,7 +65,7 @@ class Inventory {
public function addToXML($root) {
foreach($this->items as $item)
- $item->addToXML($root);
+ $item[0]->addToXML($root, $item[1]);
}
}