public Item(FloorItem Item) { Kernel.ItemTypes.TryGetValue(Item.ItemID, out Info); writer = new Writer(48); writer.Fill((ushort)48, 0); writer.Fill((ushort)1008, 2); writer.Fill(Item.ItemID, 8); writer.Fill(Info.MaxDurability, 14); Mode = Enums.ItemMode.Default; this.Durability = Item.Durability; this.SocketOne = Item.SocketOne; this.SocketTwo = Item.SocketTwo; this.Plus = Item.Plus; this.Bless = Item.Bless; this.Enchant = Item.Enchant; }