From e636738acbb7751f5cab5e7f8ebe59006152b5b8 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Sat, 26 Nov 2016 16:48:45 +0100 Subject: [PATCH] Removed db stuff from master until complete --- src/main/java/buttondevteam/core/MainPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/buttondevteam/core/MainPlugin.java b/src/main/java/buttondevteam/core/MainPlugin.java index 7de842c..b906966 100644 --- a/src/main/java/buttondevteam/core/MainPlugin.java +++ b/src/main/java/buttondevteam/core/MainPlugin.java @@ -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); }