fix removing items from closet

This commit is contained in:
printempw 2016-10-30 15:31:49 +08:00
parent fb4e080e30
commit e9ace93035

View File

@ -187,6 +187,7 @@ class Closet
// traverse items
foreach ($this->textures as $item) {
if ($item['tid'] == $tid) {
$this->items_modified[] = $tid;
// remove element from array
return array_splice($this->textures, $offset, 1);
}