Removed db stuff from master until complete
This commit is contained in:
parent
9afc2f8a96
commit
e636738acb
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ public class MainPlugin extends JavaPlugin {
|
||||||
pdfFile = getDescription();
|
pdfFile = getDescription();
|
||||||
logger = getLogger();
|
logger = getLogger();
|
||||||
|
|
||||||
setupDatabase();
|
/*setupDatabase();
|
||||||
DataManager.setDatabase(getDatabase());
|
DataManager.setDatabase(getDatabase());
|
||||||
final UUID cid = UUID.randomUUID();
|
final UUID cid = UUID.randomUUID();
|
||||||
final UUID mcid = UUID.randomUUID();
|
final UUID mcid = UUID.randomUUID();
|
||||||
|
@ -37,7 +37,7 @@ public class MainPlugin extends JavaPlugin {
|
||||||
System.out.println("----");
|
System.out.println("----");
|
||||||
DataManager.save(new CPlayer(cid, mcid));
|
DataManager.save(new CPlayer(cid, mcid));
|
||||||
System.out.println("----");
|
System.out.println("----");
|
||||||
System.out.println(DataManager.load(CPlayer.class, cid).getMinecraftID());
|
System.out.println(DataManager.load(CPlayer.class, cid).getMinecraftID());*/
|
||||||
logger.info(pdfFile.getName() + " has been Enabled (V." + pdfFile.getVersion() + ").");
|
logger.info(pdfFile.getName() + " has been Enabled (V." + pdfFile.getVersion() + ").");
|
||||||
TBMCCoreAPI.RegisterEventsForExceptions(new PlayerListener(), this);
|
TBMCCoreAPI.RegisterEventsForExceptions(new PlayerListener(), this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue