mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-12 20:34:36 +01:00
Fix some disc selectors not working
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user