mirror of
https://e.coding.net/circlecloud/RealBackpacks.git
synced 2025-11-24 21:36:12 +00:00
@@ -27,7 +27,7 @@ import cn.citycraft.RealBackpacks.json.JSONObject;
|
|||||||
*/
|
*/
|
||||||
public class Serialization {
|
public class Serialization {
|
||||||
public static String NullString = "|--空--|";
|
public static String NullString = "|--空--|";
|
||||||
public static String SplitString = "|-分割-|";
|
public static String SplitString = "<-分割->";
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public static Map<String, Object> toMap(final JSONObject object)
|
public static Map<String, Object> toMap(final JSONObject object)
|
||||||
@@ -72,7 +72,7 @@ public class Serialization {
|
|||||||
if (newString == null) {
|
if (newString == null) {
|
||||||
newString = s;
|
newString = s;
|
||||||
} else {
|
} else {
|
||||||
newString = newString + SplitString + s;
|
newString += SplitString + s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return newString;
|
return newString;
|
||||||
|
|||||||
Reference in New Issue
Block a user