private string name;
public string Name
{
get => name;
set => name = value;
}
public void addBlocks(UUID uuid, int blocks, String type){
try{
PreparedStatement ps = plugin.SQL.getConnection().prepareStatement("UPDATE PlayerBlocks SET ?? = ? WHERE UUID=?");
ps.setString(1, type);
ps.setInt(2, blocks);
ps.setString(3, uuid.toString());
ps.executeUpdate();
}catch (SQLException e){
e.printStackTrace();
}
}