Changes

Line 26: Line 26:  
       Path path = outputFolder.resolve("data/" + key.getNamespace() + "/loot_tables/" + key.getPath() + ".json");
 
       Path path = outputFolder.resolve("data/" + key.getNamespace() + "/loot_tables/" + key.getPath() + ".json");
 
       try {
 
       try {
         IDataProvider.save(GSON, cache, LootTableManager.toJson(lootTable), path);
+
         IDataProvider.save(GSON, cache, LootTableManager.serialize(lootTable), path);
 
       } catch (IOException e) {
 
       } catch (IOException e) {
 
         LOGGER.error("Couldn't write loot table {}", path, (Object) e);
 
         LOGGER.error("Couldn't write loot table {}", path, (Object) e);
25

edits