mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-13 14:49:03 +00:00
Cubot object id is no longer stored inside every CpuHardware in the database. Renamed some fields in the database to make them more readable
This commit is contained in:
@@ -26,7 +26,7 @@ public class BiomassBlob extends GameObject implements InventoryHolder {
|
||||
public BiomassBlob(Document document) {
|
||||
super(document);
|
||||
|
||||
biomassCount = document.getInteger("b");
|
||||
biomassCount = document.getInteger("biomassCount");
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -49,7 +49,7 @@ public class BiomassBlob extends GameObject implements InventoryHolder {
|
||||
|
||||
Document dbObject = super.mongoSerialise();
|
||||
|
||||
dbObject.put("b", biomassCount);
|
||||
dbObject.put("biomassCount", biomassCount);
|
||||
|
||||
return dbObject;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user