mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-20 11:06:46 +00:00
fixed serialization code for CubotShield
This commit is contained in:
parent
7e773699b6
commit
1da894959e
@ -26,6 +26,9 @@ public class CubotShield extends CpuHardware {
|
||||
public BasicDBObject mongoSerialise() {
|
||||
BasicDBObject dbObject = new BasicDBObject();
|
||||
|
||||
dbObject.put("hwid", HWID);
|
||||
dbObject.put("cubot", cubot.getObjectId());
|
||||
|
||||
return dbObject;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user