fix: make characters drop their inventory on knockout
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user