Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-28 00:50:20 +01:00
Handle new creative_items.json format
Dieser Commit ist enthalten in:
Ursprung
b222b05348
Commit
9a9695ead7
@ -116,7 +116,7 @@ public class Toolbox {
|
|||||||
List<LinkedHashMap<String, Object>> creativeItemEntries = new ArrayList<>();
|
List<LinkedHashMap<String, Object>> creativeItemEntries = new ArrayList<>();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
creativeItemEntries = creativeItemMapper.readValue(creativeItemStream, ArrayList.class);
|
creativeItemEntries = (ArrayList<LinkedHashMap<String, Object>>) creativeItemMapper.readValue(creativeItemStream, HashMap.class).get("items");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren