Save and load quests from the database
This commit is contained in:
1 parent
063fc4061e
commit
e9bdb6a70d
6 files changed
+94
-28
No files matched your search
@@ -21,11 +21,14 @@ public class Database {
|
||||
|
||||
public static Database getDatabase(){
|
||||
if (instance == null)
|
||||
{
|
||||
instance = new Database();
|
||||
instance.init();
|
||||
}
|
||||
return (instance);
|
||||
}
|
||||
|
||||
public void init() {
|
||||
protected void init() {
|
||||
try {
|
||||
openConnection();
|
||||
} catch (SQLException e) {
|
||||
|
||||
Reference in new issue
Block a user