public ItemDatabase() { yaml = new Yaml(new YamlBukkitConstructor(), new YamlRepresenter(), new DumperOptions()); try { itemDao = DaoCreator.getDaoAndCreateTable(Item.class); } catch (SQLException e) { e.printStackTrace(); } }
public ItemDatabase() { yaml = new Yaml(new YamlBukkitConstructor(), new YamlRepresenter(), new DumperOptions()); try { itemDao = DaoCreator.getDaoAndCreateTable(Item.class); } catch (SQLException e) { e.printStackTrace(); } }