mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Removed deprecated code snippet
This commit is contained in:
parent
10d87d37b3
commit
4b44c347fe
@ -303,15 +303,6 @@ public class BlockStorage {
|
|||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (json != null && json.length() > 2) {
|
|
||||||
String[] entries = json.substring(2, json.length() - 2).split("\",\"");
|
|
||||||
|
|
||||||
for (String entry: entries) {
|
|
||||||
String[] components = entry.split("\":\"");
|
|
||||||
map.put(components[0], components[1]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user