mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-13 14:49:03 +00:00
fixed serialization code for CubotShield
This commit is contained in:
@@ -26,6 +26,9 @@ public class CubotShield extends CpuHardware {
|
|||||||
public BasicDBObject mongoSerialise() {
|
public BasicDBObject mongoSerialise() {
|
||||||
BasicDBObject dbObject = new BasicDBObject();
|
BasicDBObject dbObject = new BasicDBObject();
|
||||||
|
|
||||||
|
dbObject.put("hwid", HWID);
|
||||||
|
dbObject.put("cubot", cubot.getObjectId());
|
||||||
|
|
||||||
return dbObject;
|
return dbObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user