Base of ui complete

This commit is contained in:
Thinkofdeath 2015-09-17 16:04:25 +01:00
parent 2d10d38e4c
commit b9d7063099
4 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,5 @@
extern crate serde_json;
use serde_json;
use std::fmt;
#[derive(Debug)]

View File

@ -1,10 +1,9 @@
extern crate byteorder;
use nbt;
use protocol::{Serializable};
use std::io;
use std::io::{Read, Write};
use self::byteorder::{BigEndian, WriteBytesExt, ReadBytesExt};
use byteorder::{BigEndian, WriteBytesExt, ReadBytesExt};
#[derive(Debug)]
pub struct Stack {

View File

@ -1,4 +1,3 @@
extern crate byteorder;
use std::collections::HashMap;
use std::io;
@ -6,7 +5,7 @@ use std::io::{Read, Write};
use super::protocol::{Serializable};
use super::protocol;
use self::byteorder::{BigEndian, WriteBytesExt, ReadBytesExt};
use byteorder::{BigEndian, WriteBytesExt, ReadBytesExt};
#[derive(Debug)]
pub enum Tag {

View File

@ -15,6 +15,7 @@ pub struct MetadataKey<T: MetaValue> {
}
impl <T: MetaValue> MetadataKey<T> {
#[allow(dead_code)]
// TODO: Make const later when possible
/*const*/ fn new(index: i32) -> MetadataKey<T> {
MetadataKey {