Fix NaN in subspace storage database

This commit is contained in:
Danielv123 committed 2025-02-27 00:05:48 +01:00
1 parent 9f888867fe
commit a893109a06
1 file changed
+1
+1
View File
@@ -289,6 +289,7 @@ export class ItemDatabase {
* @param quality - The quality of the item to remove.
*/
removeItem(name: string, count: number, quality: string) {
checkCount(count);
this.addItem(name, -count, quality);
};