diff --git a/src/main/java/com/laosun/stackone/IgnoreItem.java b/src/main/java/com/laosun/stackone/IgnoreItem.java index c7642aa..1aacfb6 100644 --- a/src/main/java/com/laosun/stackone/IgnoreItem.java +++ b/src/main/java/com/laosun/stackone/IgnoreItem.java @@ -37,7 +37,6 @@ public static ArrayList getIgnoreItems() { fileReader.read(a1); } catch (IOException e) { LOGGER.error("Fail to open file!"); - LOGGER.error(Arrays.toString(e.getStackTrace())); } Gson gson = new Gson(); @@ -53,8 +52,7 @@ public static ArrayList getIgnoreItems() { } } catch (Exception e) { - LOGGER.error("Json has syntax error!"); - LOGGER.error(Arrays.toString(e.getStackTrace())); + LOGGER.error("JSON has syntax error!"); } return ignoreItems; } diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 95e8668..fee2ca7 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -53,7 +53,7 @@ description='''${mod_description}''' # AFTER - This mod is loaded AFTER the dependency ordering="NONE" # Side this dependency is applied on - BOTH, CLIENT, or SERVER - side="BOTH" + side="SERVER" # Here's another dependency [[dependencies.${mod_id}]] modId="minecraft" @@ -61,7 +61,7 @@ description='''${mod_description}''' # This version range declares a minimum of the current minecraft version up to but not including the next major version versionRange="${minecraft_version_range}" ordering="NONE" - side="BOTH" + side="SERVER" # Features are specific properties of the game environment, that you may want to declare you require. This example declares # that your mod requires GL version 3.2 or higher. Other features will be added. They are side aware so declaring this won't