mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +02:00
Abstract our database operations into a single class.
This allows the logic between SQL and Flatfile to remain more hidden in most cases and makes the code easier to read.
This commit is contained in:
@ -48,10 +48,8 @@ public class ZipLibrary {
|
||||
|
||||
// Create the Source List, and add directories/etc to the file.
|
||||
List<File> sources = new ArrayList<File>();
|
||||
if (!Config.getInstance().getUseMySQL()) {
|
||||
sources.add(FlatFileDirectory);
|
||||
}
|
||||
|
||||
sources.add(FlatFileDirectory);
|
||||
sources.add(ConfigFile);
|
||||
sources.add(TreasuresFile);
|
||||
sources.add(AdvancedConfigFile);
|
||||
|
Reference in New Issue
Block a user