From 10fa4cea1da644efe5b3045d3159a3eebdb8c0a8 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 8 Aug 2019 16:53:46 +0800 Subject: Using fiber as a config lib --- src/main/java/me/shedaniel/rei/api/ConfigManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/me/shedaniel/rei/api/ConfigManager.java') diff --git a/src/main/java/me/shedaniel/rei/api/ConfigManager.java b/src/main/java/me/shedaniel/rei/api/ConfigManager.java index 5f915dfff..e64d5df55 100644 --- a/src/main/java/me/shedaniel/rei/api/ConfigManager.java +++ b/src/main/java/me/shedaniel/rei/api/ConfigManager.java @@ -5,7 +5,7 @@ package me.shedaniel.rei.api; -import me.shedaniel.rei.client.ConfigObject; +import me.zeroeightsix.fiber.exception.FiberException; import net.minecraft.client.gui.screen.Screen; import java.io.IOException; @@ -17,14 +17,14 @@ public interface ConfigManager { * * @throws IOException when error */ - void saveConfig() throws IOException; + void saveConfig() throws IOException, FiberException; /** * Loads the config from the json file, creates the file if not found. * * @throws IOException when error */ - void loadConfig() throws IOException; + void loadConfig() throws IOException, FiberException; /** * Gets the config instance -- cgit