mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2026-11-28 08:44:07 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5e511d8c3 | ||
|
|
7c666ca114 | ||
|
|
79c54203d3 |
No files matched your search
File renamed without changes.
@@ -7,7 +7,7 @@
|
||||
<groupId>me.SuperRonanCraft</groupId>
|
||||
<artifactId>BetterRTP</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>3.6.8-4</version>
|
||||
<version>3.6.8-3</version>
|
||||
|
||||
<!-- Upload patches to https://repo.ronanplugins.com/#/ -->
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -3,7 +3,7 @@ package me.SuperRonanCraft.BetterRTP.player.commands;
|
||||
import me.SuperRonanCraft.BetterRTP.player.commands.types.*;
|
||||
|
||||
public enum RTPCommandType {
|
||||
BIOME(new CmdBiome()),
|
||||
// BIOME(new CmdBiome()),
|
||||
EDIT(new CmdEdit()),
|
||||
HELP(new CmdHelp()),
|
||||
INFO(new CmdInfo()),
|
||||
|
||||
@@ -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()){
|
||||
|
||||
Reference in new issue
Block a user