mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-05 05:46:53 +01:00
Fix some disc selectors not working
This commit is contained in:
1 parent
4c66a494f2
commit
2958d32e19
1 file changed
+1
-3
@@ -679,9 +679,7 @@ public class Inventory extends PlayerManager implements GameDatabaseObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Sanity check
|
// Sanity check
|
||||||
if (count <= 0) {
|
count = Math.max(count, 1);
|
||||||
return change;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Get item data
|
// Get item data
|
||||||
var data = GameData.getItemDataTable().get(id);
|
var data = GameData.getItemDataTable().get(id);
|
||||||
|
|||||||
Reference in new issue
Block a user