fix: make characters drop their inventory on knockout

This commit is contained in:
2021-06-03 03:06:21 +02:00
parent 7cd99495ba
commit 00eb5e21f3
2 changed files with 28 additions and 0 deletions

View File

@ -104,6 +104,13 @@ public class Inventory implements Iterable<StoneType> {
content.clear();
}
/**
* Removes all stones from the Inventory.
*/
public void clear() {
content.clear();
}
/** Iterates over the inventory. */
@Override
public Iterator<StoneType> iterator() {