diff --git a/Minepacks/pom.xml b/Minepacks/pom.xml index 15406fd..6bd7951 100644 --- a/Minepacks/pom.xml +++ b/Minepacks/pom.xml @@ -202,8 +202,8 @@ at.pcgamingfreaks.Minepacks.Bukkit.API.** at.pcgamingfreaks.Minepacks.Bukkit.MagicValues at.pcgamingfreaks.Minepacks.Bukkit.Permissions - at.pcgamingfreaks.Minepacks.Bukkit.ShrinkApproach - at.pcgamingfreaks.Minepacks.Bukkit.Database.DatabaseType + at.pcgamingfreaks.Minepacks.Bukkit.Database.Enums.ShrinkApproach + at.pcgamingfreaks.Minepacks.Bukkit.Database.Enums.DatabaseType diff --git a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Backpack.java b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Backpack.java index e86c422..1a34b28 100644 --- a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Backpack.java +++ b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Backpack.java @@ -19,6 +19,7 @@ import at.pcgamingfreaks.Bukkit.MCVersion; import at.pcgamingfreaks.Bukkit.Util.InventoryUtils; +import at.pcgamingfreaks.Minepacks.Bukkit.Database.Enums.ShrinkApproach; import at.pcgamingfreaks.Minepacks.Bukkit.Database.Helper.InventoryCompressor; import at.pcgamingfreaks.Minepacks.Bukkit.Database.MinepacksPlayerData; import at.pcgamingfreaks.Minepacks.Bukkit.ExtendedAPI.BackpackExtended; diff --git a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Config.java b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Config.java index 0094807..af1479c 100644 --- a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Config.java +++ b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Config.java @@ -26,8 +26,9 @@ import at.pcgamingfreaks.Database.Cache.UnCacheStrategy; import at.pcgamingfreaks.Database.DatabaseConnectionConfiguration; import at.pcgamingfreaks.Minepacks.Bukkit.API.WorldBlacklistMode; +import at.pcgamingfreaks.Minepacks.Bukkit.Database.Enums.DatabaseType; import at.pcgamingfreaks.Minepacks.Bukkit.Database.Helper.OldFileUpdater; -import at.pcgamingfreaks.Minepacks.Bukkit.ShrinkApproach; +import at.pcgamingfreaks.Minepacks.Bukkit.Database.Enums.ShrinkApproach; import at.pcgamingfreaks.YamlFileManager; import org.bukkit.*; diff --git a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Database.java b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Database.java index 890c02d..567901e 100644 --- a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Database.java +++ b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Database.java @@ -27,6 +27,7 @@ import at.pcgamingfreaks.Minepacks.Bukkit.Database.Backend.Files; import at.pcgamingfreaks.Minepacks.Bukkit.Database.Backend.MySQL; import at.pcgamingfreaks.Minepacks.Bukkit.Database.Backend.SQLite; +import at.pcgamingfreaks.Minepacks.Bukkit.Database.Enums.DatabaseType; import at.pcgamingfreaks.Minepacks.Bukkit.ExtendedAPI.MinepacksPlayerExtended; import at.pcgamingfreaks.Minepacks.Bukkit.Minepacks; diff --git a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/DatabaseType.java b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Enums/DatabaseType.java similarity index 92% rename from Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/DatabaseType.java rename to Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Enums/DatabaseType.java index e2e2240..577eeee 100644 --- a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/DatabaseType.java +++ b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Enums/DatabaseType.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 GeorgH93 + * Copyright (C) 2021 GeorgH93 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -15,7 +15,7 @@ * along with this program. If not, see . */ -package at.pcgamingfreaks.Minepacks.Bukkit.Database; +package at.pcgamingfreaks.Minepacks.Bukkit.Database.Enums; import org.jetbrains.annotations.NotNull; diff --git a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/ShrinkApproach.java b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Enums/ShrinkApproach.java similarity index 88% rename from Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/ShrinkApproach.java rename to Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Enums/ShrinkApproach.java index e20da34..a851d52 100644 --- a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/ShrinkApproach.java +++ b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Enums/ShrinkApproach.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 GeorgH93 + * Copyright (C) 2021 GeorgH93 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -15,7 +15,7 @@ * along with this program. If not, see . */ -package at.pcgamingfreaks.Minepacks.Bukkit; +package at.pcgamingfreaks.Minepacks.Bukkit.Database.Enums; public enum ShrinkApproach { diff --git a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/FilesToSQLMigration.java b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/FilesToSQLMigration.java index 42671eb..e338cda 100644 --- a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/FilesToSQLMigration.java +++ b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/FilesToSQLMigration.java @@ -18,7 +18,7 @@ package at.pcgamingfreaks.Minepacks.Bukkit.Database.Migration; import at.pcgamingfreaks.Minepacks.Bukkit.Database.Backend.Files; -import at.pcgamingfreaks.Minepacks.Bukkit.Database.DatabaseType; +import at.pcgamingfreaks.Minepacks.Bukkit.Database.Enums.DatabaseType; import at.pcgamingfreaks.Minepacks.Bukkit.Minepacks; import org.intellij.lang.annotations.Language; diff --git a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/MigrationManager.java b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/MigrationManager.java index 1d5066e..17f6cb1 100644 --- a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/MigrationManager.java +++ b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/MigrationManager.java @@ -21,7 +21,7 @@ import at.pcgamingfreaks.Database.ConnectionProvider.ConnectionProvider; import at.pcgamingfreaks.Minepacks.Bukkit.Database.Backend.*; import at.pcgamingfreaks.Minepacks.Bukkit.Database.Database; -import at.pcgamingfreaks.Minepacks.Bukkit.Database.DatabaseType; +import at.pcgamingfreaks.Minepacks.Bukkit.Database.Enums.DatabaseType; import at.pcgamingfreaks.Minepacks.Bukkit.Minepacks; import at.pcgamingfreaks.Reflection; diff --git a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/SQLtoSQLMigration.java b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/SQLtoSQLMigration.java index 8a41c21..dcdb647 100644 --- a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/SQLtoSQLMigration.java +++ b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/SQLtoSQLMigration.java @@ -19,7 +19,7 @@ import at.pcgamingfreaks.Minepacks.Bukkit.Database.Backend.SQL; import at.pcgamingfreaks.Minepacks.Bukkit.Database.Backend.SQLite; -import at.pcgamingfreaks.Minepacks.Bukkit.Database.DatabaseType; +import at.pcgamingfreaks.Minepacks.Bukkit.Database.Enums.DatabaseType; import at.pcgamingfreaks.Minepacks.Bukkit.Minepacks; import org.intellij.lang.annotations.Language; diff --git a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/ToSQLMigration.java b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/ToSQLMigration.java index 53dd28f..7650036 100644 --- a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/ToSQLMigration.java +++ b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Migration/ToSQLMigration.java @@ -23,7 +23,7 @@ import at.pcgamingfreaks.Minepacks.Bukkit.Database.Backend.SQL; import at.pcgamingfreaks.Minepacks.Bukkit.Database.Backend.SQLite; import at.pcgamingfreaks.Minepacks.Bukkit.Database.Database; -import at.pcgamingfreaks.Minepacks.Bukkit.Database.DatabaseType; +import at.pcgamingfreaks.Minepacks.Bukkit.Database.Enums.DatabaseType; import at.pcgamingfreaks.Minepacks.Bukkit.Minepacks; import at.pcgamingfreaks.Reflection;