Removed db stuff from master until complete

This commit is contained in:
Norbi Peti 2016-11-26 16:48:45 +01:00
parent 9afc2f8a96
commit e636738acb

View file

@ -28,7 +28,7 @@ public class MainPlugin extends JavaPlugin {
pdfFile = getDescription();
logger = getLogger();
setupDatabase();
/*setupDatabase();
DataManager.setDatabase(getDatabase());
final UUID cid = UUID.randomUUID();
final UUID mcid = UUID.randomUUID();
@ -37,7 +37,7 @@ public class MainPlugin extends JavaPlugin {
System.out.println("----");
DataManager.save(new CPlayer(cid, mcid));
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() + ").");
TBMCCoreAPI.RegisterEventsForExceptions(new PlayerListener(), this);
}