Fixed: SyncedNetworkData.toJSON
This commit is contained in:
+1
-1
@@ -232,7 +232,7 @@ public class SyncedNetworkData implements ConnectedClientList.Listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String toJSON(){
|
public String toJSON(){
|
||||||
return data.toString();
|
return new JSONObject(data).toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void fromJSON(String networkData) throws JSONException {
|
public void fromJSON(String networkData) throws JSONException {
|
||||||
|
|||||||
Reference in New Issue
Block a user