mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2025-08-17 17:15:47 +00:00
Remove unused imports
This commit is contained in:
parent
c6ba480e04
commit
79c54203d3
@ -27,7 +27,6 @@ import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.logging.Level;
|
||||
|
||||
public class BetterRTP extends JavaPlugin {
|
||||
private final Permissions perms = new Permissions();
|
||||
|
@ -35,8 +35,4 @@ public class DatabaseHandler {
|
||||
return BetterRTP.getInstance().getDatabaseHandler().getDatabaseQueue();
|
||||
}
|
||||
|
||||
//public static DatabaseChunkData getChunks() {
|
||||
// return BetterRTP.getInstance().getDatabaseHandler().getDatabaseChunks();
|
||||
//}
|
||||
|
||||
}
|
||||
|
@ -37,6 +37,8 @@ public abstract class SQLite {
|
||||
return getLocal();
|
||||
}
|
||||
|
||||
public abstract Connection getConnection();
|
||||
|
||||
private Connection getLocal() {
|
||||
File dataFolder = new File(BetterRTP.getInstance().getDataFolder().getPath() + File.separator + "data", db_file_name + ".db");
|
||||
if (!dataFolder.exists()){
|
||||
|
Loading…
x
Reference in New Issue
Block a user