diff --git a/src/main/java/world/bentobox/bentobox/database/AbstractDatabaseHandler.java b/src/main/java/world/bentobox/bentobox/database/AbstractDatabaseHandler.java index 4951dd73d..202102127 100644 --- a/src/main/java/world/bentobox/bentobox/database/AbstractDatabaseHandler.java +++ b/src/main/java/world/bentobox/bentobox/database/AbstractDatabaseHandler.java @@ -15,6 +15,11 @@ import world.bentobox.bentobox.BentoBox; */ public abstract class AbstractDatabaseHandler { + /** + * Name of the folder where databases using files will live + */ + protected static final String DATABASE_FOLDER_NAME = "database"; + /** * The data object that should be created and filled with values * from the database or inserted into the database diff --git a/src/main/java/world/bentobox/bentobox/database/flatfile/FlatFileDatabaseHandler.java b/src/main/java/world/bentobox/bentobox/database/flatfile/FlatFileDatabaseHandler.java index 2f790b98e..ed6765dff 100644 --- a/src/main/java/world/bentobox/bentobox/database/flatfile/FlatFileDatabaseHandler.java +++ b/src/main/java/world/bentobox/bentobox/database/flatfile/FlatFileDatabaseHandler.java @@ -49,10 +49,6 @@ import world.bentobox.bentobox.util.Util; public class FlatFileDatabaseHandler extends AbstractDatabaseHandler { - /** - * This is the name of the folder where the flat file databases will live - */ - private static final String DATABASE_FOLDER_NAME = "database"; /** * Flag to indicate if this is a config or a pure object database (difference is in comments and annotations) */