From 77b4ade885eaf8a33cad378d5dd984ca445cadbc Mon Sep 17 00:00:00 2001 From: nossr50 Date: Tue, 12 Mar 2019 00:51:00 -0700 Subject: [PATCH] On second thought lets not use an empty class as a parent idk --- src/main/java/com/gmail/nossr50/config/hocon/ConfigSection.java | 2 ++ .../config/hocon/database/UserConfigSectionDatabase.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/config/hocon/ConfigSection.java b/src/main/java/com/gmail/nossr50/config/hocon/ConfigSection.java index 5f1d9c7d1..1c5520de9 100644 --- a/src/main/java/com/gmail/nossr50/config/hocon/ConfigSection.java +++ b/src/main/java/com/gmail/nossr50/config/hocon/ConfigSection.java @@ -1,3 +1,4 @@ +/* package com.gmail.nossr50.config.hocon; import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable; @@ -5,3 +6,4 @@ import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable; @ConfigSerializable public class ConfigSection { } +*/ diff --git a/src/main/java/com/gmail/nossr50/config/hocon/database/UserConfigSectionDatabase.java b/src/main/java/com/gmail/nossr50/config/hocon/database/UserConfigSectionDatabase.java index 6ccfbfd1b..b8e8889e7 100644 --- a/src/main/java/com/gmail/nossr50/config/hocon/database/UserConfigSectionDatabase.java +++ b/src/main/java/com/gmail/nossr50/config/hocon/database/UserConfigSectionDatabase.java @@ -5,7 +5,7 @@ import ninja.leaping.configurate.objectmapping.Setting; import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable; @ConfigSerializable -public class UserConfigSectionDatabase extends ConfigSection { +public class UserConfigSectionDatabase { @Setting(value = "Database_Name", comment = "The database name for your DB, this DB must already exist on the SQL server.") private String databaseName = "example_database_name";