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:
simon
2018-05-12 16:16:24 -04:00
parent 4cd58c86a5
commit 3368268924
27 changed files with 83 additions and 74 deletions

View File

@@ -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;