Fix mixin compat level being set to JAVA_16

Delete NoValidConstructorException.java (waste of space smh)
This commit is contained in:
ffrann
2021-06-15 23:39:08 -04:00
parent b6b7a67866
commit 09658ffee6
6 changed files with 5 additions and 11 deletions
@@ -4,7 +4,6 @@ import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import draylar.omegaconfig.api.Comment;
import draylar.omegaconfig.api.Config;
import draylar.omegaconfig.exception.NoValidConstructorException;
import draylar.omegaconfig.gson.SyncableExclusionStrategy;
import io.netty.buffer.Unpooled;
import net.fabricmc.fabric.api.networking.v1.ServerPlayConnectionEvents;
@@ -92,7 +91,7 @@ public class OmegaConfig {
return config;
} catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException exception) {
exception.printStackTrace();
throw new NoValidConstructorException();
throw new RuntimeException("No valid constructor found for: " + configClass.getName());
}
}
@@ -1,5 +0,0 @@
package draylar.omegaconfig.exception;
public class NoValidConstructorException extends RuntimeException {
}