internal void SendBlockChange(ushort x, ushort y, ushort z, byte type)
{
var p = new Packet {Id = PacketType.SetBlockOutgoing};
p.AddVar(x);
p.AddVar(y);
p.AddVar(z);
p.AddVar((Block.Blocks.ContainsKey(type) ? Block.Blocks[type].BaseType : (byte)0));
SendPacket(p);
}