Fix some disc selectors not working

This commit is contained in:
Melledy committed 2025-11-13 08:09:17 -08:00
1 parent 4c66a494f2
commit 2958d32e19
1 file changed
+2 -4
@@ -677,11 +677,9 @@ public class Inventory extends PlayerManager implements GameDatabaseObject {
if (change == null) {
change = new PlayerChangeInfo();
}
// Sanity check
if (count <= 0) {
return change;
}
count = Math.max(count, 1);
// Get item data
var data = GameData.getItemDataTable().get(id);